Configfile
Diez B. Roggisch
deets at nospam.web.de
Fri Oct 27 10:53:38 EDT 2006
Fulvio schrieb:
> ***********************
> Your mail has been scanned by InterScan MSS.
> ***********************
>
>
> HI,
>
> I've a small doubt regarding the way to save a configuration file on the file
> manipulated by ConfigParser.
> As far as I could understand this:
>
> cp = ConfigParser.ConfigParser
You are missing a () here....
> cp.set(section,option)
>
> will it do the set on the file or do I have to issue a "cp.write(fp)" in order
> to get it done?
> My tests didn't resulted positively.
What does that mean? Did your head explode, has a giant mammoth stomped
your PC into oblivion, or has by any chance an exception occured that
you don't show us?
I guess you've been told to read this here, but just in case it wasn't,
or you didn't bother to read it:
http://catb.org/esr/faqs/smart-questions.html
Diez
More information about the Python-list
mailing list