ConfigParser examples?

Esmail ebonak at hotmail.com
Fri May 15 17:32:57 EDT 2009


Hi all,

Can anyone point to on the web, or possibly share a simple example
of the use of the ConfigParser module?

I have a program that has a lot of flags in various places (yes,
ugly I know), so I am trying to consolidate this information in
a configuration file so that the program can pull the necessary
information from this place without the need to edit the program
and its flags.

Some sample code for using ConfigParser would be helpful - haven't
been able to find any on-line so far beyond the standard documentation.

Thanks,
Esmail




More information about the Python-list mailing list