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