unpickling an NT object in Solaris?

Guido van Rossum guido at eric.cnri.reston.va.us
Tue Apr 20 22:57:02 EDT 1999


dozier at bellatlantic.net (Bill Dozier) writes:

> Problem solved. It seems that the cPickle module is not sufficiently
> cross-platform.
> 
> The text mode of pickling is not cross-platform and seems to expect UNIX
> linefeeds. :P

Nonsense.  However you must open the file you're pickling to in binary
mode: open(filename,'wb').

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)




More information about the Python-list mailing list