pickle question
Jeff Shannon
jeff at ccvcorp.com
Thu Dec 6 15:00:59 EST 2001
Oleg Broytmann wrote:
> On Thu, Dec 06, 2001 at 04:21:59PM +0000, Uwe Schmitt wrote:
> > | Did you open the pickled file in binary mode?
> >
> > No. should I ?
>
> On Windows - yes.
Really, you should always do so--pickles are binary data and should be
written to binary files. It just so happens that on *nix, there's no
practical distinction between binary and text mode. ;) (There is a
distinction on Mac, as well as Windows, IIRC, and I have no idea for other
platforms...)
Jeff Shannon
Technician/Programmer
Credit International
More information about the Python-list
mailing list