on Win32 -- converting my newlines to CR+LF

Ryan McGuire usenet at
Thu Aug 27 05:40:36 CEST 2009

On Aug 26, 11:04 pm, Philip Semanchuk <phi... at> wrote:
> Try using "rb" instead of "r" for the mode in the call to open().
> Philip

That does indeed fix the problem, thanks! Still seems like the docs
are wrong though.

More information about the Python-list mailing list