On Wed, Jul 23, 2008 at 3:37 PM, jadamwil <[EMAIL PROTECTED]> wrote: > I found the problem: I thought it was opening in binary mode on BOTH > windows and the mac, but on windows I passed "rb" with double quotes, > not 'rb' with single quotes to the open file function. Changing it to > 'rb' fixed it. > >
by the way, anyone could explain why changing to single quote makes a difference? >>> "rb" == 'rb' True
-- http://mail.python.org/mailman/listinfo/python-list