unpickle to python list

Thomas Guettler zopestoller at thomas-guettler.de
Mon Feb 3 07:16:33 EST 2003


Hi!

I have a pickle which contains a flat list:

mylist=[
  "abc",
  "def",
  "ghi", ...]

Is it possible to pickle this list to python syntax?

I would like to get a foo.py file which contains
this list in python syntax.

This would make it easy to edit the list with an text
editor.

  thomas





More information about the Python-list mailing list