Loading a Python collection from an text-file

Fuzzyman fuzzyman at gmail.com
Fri Jan 27 07:59:47 EST 2006

Seeing as we're suggesting alternatives, ConfigObj is great for hand
readable/writable data persistence.

You can use validate and ConfigPersist for automatic type conversion.

You can persist (basically) all the standard datatypes using this. The
syntax is usually more 'familiar' than Yaml, but it's not as flexible.


All the best,


More information about the Python-list mailing list