[Tutor] setting program configuration for all files and modules ofa program

Kent Johnson kent37 at tds.net
Tue Apr 15 22:31:27 CEST 2008


Alan Gauld wrote:

>> But to my optinion Config Parser offers the following advantage:
>> - Readable
>> - All are strings => no strange 'mysetting' is needed.
> 
> I'm not sure what you mean. The Python variables and dictionary 
> is all strings too. mysetting is just a string...

He means, with ConfigParser strings don't need to be quoted, giving 
perhaps a cleaner and more friendly syntax.

Kent


More information about the Tutor mailing list