how do you use pickle?

John Salerno johnjsal at NOSPAMgmail.com
Tue Apr 4 12:44:38 EDT 2006


Fredrik Lundh wrote:

> define "image file".  the data in the file, the file name, or some other
> representation?

I was being dense again. I was just opening the file, but not reading 
it! After reading it, it's easy to pickle it.

> did you, by any chance, name your test script "pickle.py" ?

That did the trick! Thanks!



More information about the Python-list mailing list