On 4 Oct 2006 06:09:21 -0700, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi guys, > this is my first post. my "programming" background is perlish scripting > and now I am learning python. I need to create a dictionary of list > from a file. Normally in perl I use to do like:
You may wish to consider some kind of data serialization. For python specifically, there's pickle and cPickle, for many platforms there is YAML (I recommend this; the py binding is really good), and as a last resort you can use XML (yuck). -- http://mail.python.org/mailman/listinfo/python-list