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 阅读(205) 评论(0) 推荐(0)
posted @ 2016-03-03 10:54 Vincent90 阅读(1336) 评论(0) 推荐(0)
posted @ 2016-01-25 12:02 Vincent90 阅读(128) 评论(0) 推荐(0)
posted @ 2016-01-11 19:40 Vincent90 阅读(214) 评论(0) 推荐(0)
posted @ 2015-12-30 11:32 Vincent90 阅读(422) 评论(0) 推荐(0)
posted @ 2015-10-19 14:02 Vincent90 阅读(124) 评论(0) 推荐(0)
posted @ 2015-10-19 13:56 Vincent90 阅读(266) 评论(0) 推荐(0)
posted @ 2015-06-18 17:57 Vincent90 阅读(455) 评论(0) 推荐(0)
posted @ 2015-06-18 16:43 Vincent90 阅读(243) 评论(0) 推荐(0)