bugs at iter file() ?

dw dswj at plasa.com
Thu Jul 15 00:19:19 EDT 2004


>> Yep, simple, but works. Thanks, now I should know to use
>> 'b' all the time!

TP> Nope, only for binary files.  If you open a text file 
in binary mode
TP> on Windows, you get other problems (all your lines 
will end with
TP> '\r\n' instead of the almost-always-desired plain 
'\n').

Thanks, i'll keep that in mind.

TP> Please keep followups on comp.lang.python, BTW.  I can 
rarely make
TP> time for individual replies, and other people may have 
more time to
TP> explain the Windows quirks here.

Ups, sorry, didn't realized this mailing list's Reply-To 
is
your personal mail :)

===========================================================================================
"Gabung INSTANIA, dapatkan XENIA. Daftar di www.telkomnetinstan.com, langsung dapat akses Internet Gratis..
Dan ..ikuti "Instan Smile" berhadiah Xenia,Tour S'pore, Komputer,dll, info hub : TELKOM Jatim 0-800-1-467826 "
===========================================================================================



More information about the Python-list mailing list