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

Alan Gauld alan.gauld at btinternet.com
Wed Apr 16 00:44:43 CEST 2008


"Kent Johnson" <kent37 at tds.net> wrote

>> 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.

Ah, I see, yes that's a valid point.

The whole issue of security is worth considering too. If the
config file is not controlled then it is open to abuse since it
allows a lot more than the simple set of name/value assignments
that ConfigParser does.
(I meant to mention that earlier)

Alan G. 




More information about the Tutor mailing list