9.2.2 ConfigParser Objects
The ConfigParser class extends some methods of the
RawConfigParser interface, adding some optional arguments.
get( |
section, option[, raw[, vars]]) |
-
Get an option value for the named section. All the
"%" interpolations are expanded in the return values, based
on the defaults passed into the constructor, as well as the options
vars provided, unless the raw argument is true.
items( |
section[, raw[, vars]]) |
-
Return a list of
(name, value) pairs for each
option in the given section. Optional arguments have the
same meaning as for the get() method.
New in version 2.3.
Release 2.5.2, documentation updated on 21st February, 2008.
See About this document... for information on suggesting changes.
|