Pickle to source code

Gabriel Genellina gagenellina at softlab.com.ar
Wed Oct 26 10:24:16 CEST 2005


I want to convert from pickle format to python source code. That is,
given an existing pickle, I want to produce a textual representation
which, when evaluated, yields the original object (as if I had
unpickled the pickle).
I know of some transformations pickle/xml (Zope comes with one such
tool, gnosis xml is another) so I believe I could build something based
on them.
But I dont want to reinvent the wheel, I wonder if anyone knows of a
library which could do what I want?

Gabriel Genellina
Softlab SRL

More information about the Python-list mailing list