Trouble using pinckle

Cédric Lucantis omer at
Wed Jul 2 18:40:03 CEST 2008

> > I'll also try the dictionnary method.
> > My final idea was that a dictionnary would be perhaps simple in the
> > future to save/load as XML and a parser.

> XML ? What a strange idea ?

Why is it so strange ? Many softs have their config in xml, and the xml.* 
modules are not that hard to use. It makes sense if you have a lot of config 
entries with nested sections.

> > On a more global perspective, what are the best method to implement a
> > simple config file with pyhton.
> Well... Python does have a couple of config-related packages, starting
> with the one in the stdlib. You may want to find out if any of these
> packages fits your needs before reinventing the wheel ?

Right, ConfigParser should do the trick for simpler things.

Cédric Lucantis

More information about the Python-list mailing list