Unpickling from strings
marcin.chady at ntlworld.com
Wed Mar 14 01:04:39 CET 2001
> did you pickle classes defined in your main script (aka __main__),
> and then failed to unpickle them in another script?
> don't do that.
> (to solve this, move the classes to a common support module, and
> import it into the pickling script)
> Cheers /F
Both pickling and unpickling is done by the same script, and the classes
are defined in a separate module imported by that script.
More information about the Python-list