[Tutor] problem with pickle using binary mode - re-submission (was problems with pickle)

Tony Cappellini tony@tcapp.com
Sun Mar 23 01:54:01 2003


I keep getting EOFError when I open a file  that i saved using pickle.

It turns out that if  use binary mode when I pickle the file, I get the EOF 
error when loading it back in.
However, if i use text mode, I don' tave this problem.

The file is less than 1000 bytes.

I'm running Windows 2000, and Python 2.2.2

Is this a known issue with binary mode, or am I doing something wrong ?




_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor