Saving/retrieving user preferences

Fuzzyman fuzzyman at gmail.com
Thu Jun 9 05:05:38 EDT 2005


ConfigObj is a nice way of reading/writing text config files.

It's case insensitive and handles quoting of keywords/values.

Reading and writing config files are single line commands.

You get access to keyword values using a dicitionary interface.

Values can be single values or lists (including nested lists if you
want).

Lots of other options.

http://www.voidspace.org.uk/python/configobj.html

Regards,

Fuzzy
http://www.voidspace.org.uk/python/




More information about the Python-list mailing list