Alberto Troiano wrote: > I’m trying to make a configuration file > > I know how to read the sections and options (using ConfigParser module > from Python 2.3.4 on Win XP) > > What I wanted to know is that eventually I will need to add sections and > options or change values or erase options or , etc > > Is there any way that I can do this changes to the config.ini file?
Sure. See the docs for RawConfigParser add_section(), set() and write(). ConfigParser is a subclass of RawConfigParser so you can use any of these methods. http://docs.python.org/lib/RawConfigParser-objects.html Kent _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor