ConfigParser and multiple option names
alisonken1
alisonken1 at gmail.com
Tue May 2 18:06:20 EDT 2006
Benji York wrote:
<SNIP>
>
> I generally do this:
>
> dirs =
> /home/florian
> /home/john
> /home/whoever
>
> ...and then use str.split() in my program.
> --
> Benji York
The only problem with this would be if you plan on updating the config
file later in the program - I don't think ConfigParser would write the
new config file with these options setup this way.
More information about the Python-list
mailing list