utility to display the contents of a pickle (fwd) (fwd)

Lulu of the Lotus-Eaters mertz at gnosis.cx
Sat Oct 14 12:27:22 EDT 2000


From: "Tom" <nospam at nospam.com>
| I thought I saw a post a few months ago regarding a utility that would
| display the contents of a pickle file.
| (I realize that a text editor fits this description, but I'm hoping for
| something a bit more structured.)

My xml_objectify module (check the Vaults) contains a utility function
called pyobj_printer that makes a pretty representation of any Python
object.  There is nothing terribly special about this 20 line function,
but I assume this is basically what you want to do in representing a
pickle file.  You'll need to unpickle before you pass to this function,
of course.





More information about the Python-list mailing list