posted @ 2016-03-09 15:17 Vincent90 阅读(445) 评论(0) 推荐(0)
摘要:
一.打开文件 #使用 with 语句操作文件对象 with open(r'somefileName') as somefile: for line in somefile: print line # ...more code 阅读全文
posted @ 2016-03-09 15:17 Vincent90 阅读(445) 评论(0) 推荐(0)
posted @ 2016-03-09 15:04 Vincent90 阅读(206) 评论(0) 推荐(0)
posted @ 2016-03-03 10:54 Vincent90 阅读(1339) 评论(0) 推荐(0)
posted @ 2016-01-25 12:02 Vincent90 阅读(130) 评论(0) 推荐(0)
posted @ 2016-01-11 19:40 Vincent90 阅读(221) 评论(0) 推荐(0)
posted @ 2015-12-30 11:32 Vincent90 阅读(429) 评论(0) 推荐(0)
posted @ 2015-10-19 14:02 Vincent90 阅读(127) 评论(0) 推荐(0)
posted @ 2015-10-19 13:56 Vincent90 阅读(269) 评论(0) 推荐(0)
posted @ 2015-06-18 17:57 Vincent90 阅读(462) 评论(0) 推荐(0)
posted @ 2015-06-18 16:43 Vincent90 阅读(247) 评论(0) 推荐(0)