Debugging a pickle

Jeffrey Barish jeff_barish at earthlink.net
Thu Jun 8 09:06:16 EDT 2006


Steve Holden wrote:

> First of all, verify that you are opening the file in binary mode. Not
> doing this is the biggest cause of problems for Windows users, which the
> intermittent failure makes me suspect you may be.
> 
> regards
>   Steve

Right on all counts.  I am on Windows and I was not opening the file in
binary mode either for input or output.  I am amazed that it worked at all. 
Thanks for the suggestion.
-- 
Jeffrey Barish




More information about the Python-list mailing list