Recommended "new" way for config files

Nicola Larosa (tekNico) nicola.larosa at gmail.com
Thu Feb 25 10:51:51 EST 2010


Peter wrote:
> There seems to be several strategies to enhance the old ini-style config
> files with real python code
> [...]
> Is there a strategy that should be prefered for new projects ?

5) Use ConfigObj <http://www.voidspace.org.uk/python/configobj.html>,
by Michael Foord and yours truly. It uses an extension of the ini-
style config format. Sorry for the multiple brackets, my fault. :-)

--
Nicola Larosa - http://www.tekNico.net/

Ci sono paesi in cui un gesto violento se compiuto da un uomo su una
don-
na è punito più severamente: si chiama uguaglianza sostanziale,
compensa
la disuguaglianza di partenza. [...] Se vince la cultura dei
"vincenti"
le donne perderanno. Non fanno la guerra, in genere. È una perdita di
tempo: hanno altro da fare. - Concita De Gregorio, Novembre 2009



More information about the Python-list mailing list