Pickle to source code

Gabriel Genellina gagenellina at softlab.com.ar
Wed Oct 26 08:45:12 EDT 2005


Maksim Kasimov ha escrito:

> As far i know, in pickle-file there are only attributes values of a pickled object, but not an object itself.
>
> It is possible to unpickle object only if you have the sourse of the class that object you have pickled.
> So, if you have class code and attribute values of the class instance, there is no problem to produce a textual representation of the object. Isn't it?

Yes, but I need it for many different objects, some of them written by
other people. Please see my next post for clarification.

Gabriel Genellina
Softlab SRL




More information about the Python-list mailing list