reading files into dicts
Alex Martelli
aleax at mail.comcast.net
Mon Jan 2 01:58:46 EST 2006
rbt <rbt at athop1.ath.vt.edu> wrote:
...
> Thanks to everyone for the tips on eval and repr. I went with the
> cPickle suggestion... this is awesome! It was the easiest and quickest
> solution performance-wise. Just makes me think, "Wow... how the heck
> does pickle do that?!"
pickle.py implements just the same job, in pure Python, and it's easily
found within your Python's standard library, so you may want to study it
to see how it does perform its task.
Alex
More information about the Python-list
mailing list