[Tutor] Writing a Configuration Facility for an Application
A.T.Hofkamp
a.t.hofkamp at tue.nl
Fri Jan 30 14:57:13 CET 2009
Kent Johnson wrote:
> Another way is to use a .ini file. The ConfigParser module can read
> ini files but not write them.
> http://docs.python.org/library/configparser.html
What do you mean 'not write them'?
from the Python docs:
RawConfigParser.write(fileobject)
Write a representation of the configuration to the specified file object.
This representation can be parsed by a future read() call.
Sincerely,
Albert
More information about the Tutor
mailing list