[portland] Reformatting Data Files

Rich Shepard rshepard at appl-ecosys.com
Sat Jan 29 03:22:25 CET 2011


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


More information about the Portland mailing list