<div dir="ltr">On Wed, Jul 23, 2008 at 3:37 PM, jadamwil <<a href="mailto:jadamwilson2@gmail.com">jadamwilson2@gmail.com</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I found the problem: I thought it was opening in binary mode on BOTH<br>
windows and the mac, but on windows I passed "rb" with double quotes,<br>
not 'rb' with single quotes to the open file function. Changing it to<br>
'rb' fixed it.<br>
<div class="Ih2E3d"><br></div></blockquote><div> </div></div><br><div class="gmail_quote"><div>by the way, anyone could explain why changing to single quote makes a difference? <br><br></div></div>>>> "rb" == 'rb'<br>
True<br></div>