This module supports read/modify/write of ini
style configuration files
with comment retention. Two methods exist for modifying configuration file
option settings. The first is the set()
method of the object returned
from the ConfigParser
class add_option()
method. The second
is the set_option()
method of the object returned from the
ConfigParser
class add_file()
method. The write()
method
of the object returned from the add_file()
and set()
methods can be
used to write the modified file contents. The following subsections provide
more detail.