Best way to store config or preferences in a multi-platform way.

Micah Elliott mde at MicahElliott.com
Thu May 1 14:17:47 EDT 2008


On 2008-05-01 Carl Banks wrote:

> If you don't intend to write a GUI to do that, write a simple
> text file parser (if the options are simple), use ConfigParser,
> or use a Python file that you exec.

INI is great for so many things.  It is also extremely
commonplace, regardless of platform.  The biggest challenge might
be choosing which one to adopt:

    http://wiki.python.org/moin/ConfigParserShootout

-- 
Micah Elliott | mde at MicahElliott.com | http://MicahElliott.blogspot.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: Digital signature
URL: <http://mail.python.org/pipermail/python-list/attachments/20080501/9d6cc861/attachment-0001.sig>


More information about the Python-list mailing list