摘要:
import linecache def eachlineof(filename): with open(filename, 'r') as f: for cnt, line in enumerate(f): a = str(cnt) + ',' + line.strip('\n') yield a 阅读全文
posted @ 2017-02-21 23:44
idlewith
阅读(117)
评论(0)
推荐(0)
该文被密码保护。 阅读全文
posted @ 2017-02-21 19:23
idlewith
阅读(0)
评论(0)
推荐(0)

浙公网安备 33010602011771号