posted @ 2016-03-09 15:17 Vincent90 阅读(455) 评论(0) 推荐(0)
摘要:
一.打开文件 #使用 with 语句操作文件对象 with open(r'somefileName') as somefile: for line in somefile: print line # ...more code 阅读全文
posted @ 2016-03-09 15:17 Vincent90 阅读(455) 评论(0) 推荐(0)
posted @ 2016-03-09 15:04 Vincent90 阅读(208) 评论(0) 推荐(0)
posted @ 2016-03-03 10:54 Vincent90 阅读(1341) 评论(0) 推荐(0)
posted @ 2016-01-25 12:02 Vincent90 阅读(143) 评论(0) 推荐(0)
posted @ 2016-01-11 19:40 Vincent90 阅读(237) 评论(0) 推荐(0)
posted @ 2015-12-30 11:32 Vincent90 阅读(444) 评论(0) 推荐(0)
posted @ 2015-10-19 14:02 Vincent90 阅读(129) 评论(0) 推荐(0)
posted @ 2015-10-19 13:56 Vincent90 阅读(285) 评论(0) 推荐(0)
posted @ 2015-06-18 17:57 Vincent90 阅读(478) 评论(0) 推荐(0)
posted @ 2015-06-18 16:43 Vincent90 阅读(260) 评论(0) 推荐(0)