On Fri, 28 Jan 2011, John Hampton wrote:
I'm assuming that you're running this code on a Windows machine.
John, Wrong assumption. We've used nothing Microsoft since early 1997.
On *nix [1], 'r' == 'rb'. However, on Windows, you have to specify binary so that the OS doesn't do any line-ending munging.
That's supposed to be the case. But python threw an error message to me when I didn't specify the b. This on Slackware-13.1 with python-2.6.4. Rich _______________________________________________ Portland mailing list [email protected] http://mail.python.org/mailman/listinfo/portland
