Unpickling from strings

Fredrik Lundh fredrik at pythonware.com
Wed Mar 14 03:14:01 EST 2001


Marcin Chady wrote:
> Both pickling and unpickling is done by the same script, and the classes
> are defined in a separate module imported by that script.

btw, looking at the first part of the pickled instance might
help you figure out what's wrong:

    (i<module>\012<class>\012...

make sure <module> and <class> is what they're supposed
to be.

Cheers /F





More information about the Python-list mailing list