open() in binary vs. text mode

Bob Roberts bobnotbob at byu.edu
Thu Mar 20 13:03:17 EST 2003


I just finished tracking down a cross-platorm bug.  The problem was
that I didn't open() a file in binary ("rb") mode.  What exactly does
the binary flag do on windows?  What is it's purpose?




More information about the Python-list mailing list