homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Alex.Grinko
Recipients Alex.Grinko
Date 2014年03月30日.18:02:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1396202543.66.0.928305526795.issue21104@psf.upfronthosting.co.za>
In-reply-to
Content
When reading from text file on Windows Python ends loop on character 0x1A
sample.py:
number = 0
with open("sample.txt",'r') as f:
 for line in f:
 number += 1
	print line
print "File has 8 lines, but Python could read only ",number
History
Date User Action Args
2014年03月30日 18:02:23Alex.Grinkosetrecipients: + Alex.Grinko
2014年03月30日 18:02:23Alex.Grinkosetmessageid: <1396202543.66.0.928305526795.issue21104@psf.upfronthosting.co.za>
2014年03月30日 18:02:23Alex.Grinkolinkissue21104 messages
2014年03月30日 18:02:23Alex.Grinkocreate

AltStyle によって変換されたページ (->オリジナル) /