ConfigParser and multiple option names

Benji York benji at benjiyork.com
Tue May 2 17:57:29 EDT 2006


Florian Lindner wrote:
> since ConfigParser does not seem to support multiple times the same option
> name, like:
> 
> dir="/home/florian"
> dir="/home/john"
> dir="/home/whoever"

I generally do this:

dirs =
     /home/florian
     /home/john
     /home/whoever

...and then use str.split() in my program.
--
Benji York



More information about the Python-list mailing list