with open('dwn.txt') as f: for i in xrange(6): f, next() for line in f: process(line)
更新 :
next(f)用于python3.x。
欢迎分享,转载请注明来源:内存溢出
with open('dwn.txt') as f: for i in xrange(6): f, next() for line in f: process(line)
更新 :
next(f)用于python3.x。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)