Loading a Python collection from an text-file

Ilias Lazaridis ilias at lazaridis.com
Thu Jan 26 19:03:01 EST 2006


jschull at gmail.com wrote:
> another approach (probably frowned upon, but it has worked for me) is
> to use python syntax (a dictionary, say, or a list) and just import (or
> reload) the file
> 

this sounds good.

can I import a whole collection of instances this way?

-

(thanks for all the other answers within this thread).

.

-- 
http://lazaridis.com



More information about the Python-list mailing list