Stefan Sonnenberg-Carstens added the comment: Perhaps this is an issue of line separation ? Could you provide the output of wc -l on a *NIX box ? And, could you try with this code:
import sys print(sys.version_info) import time print (time.localtime()) fichin=open(r'D:\pythons\16s\total_gb_161_16S.gb') start = time.time() for i,li in enumerate(fichin): if i%1000000==0 and i>0: print (i,start-time.time()) fichin.close() print(i) print(start-time.time()) Thx ---------- nosy: +pythonmeister __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1141> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com