ConfigParser shootout, preliminary entry
steven.bethard at gmail.com
Sat Oct 23 20:19:31 CEST 2004
Steven Bethard <steven.bethard <at> gmail.com> writes:
> Well said! This is exactly what I was thinking while I read through this
> thread. I imagine to classes would be provided: ConfigParser, which basically
> just reads an INI file and yields (key, value) pairs by section, and
> ConfigObject, which uses a ConfigParser to read the INI file and then converts
> this to attribute-style access.
Oh, I also wanted to mention that I *really* liked the idea on python-dev that
ConfigObject might be configurable in the same way as OptionParser:
I know a lot of the time I want to allow options to be specified in both the
configuration file and at the command line.
More information about the Python-list