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。