IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
9.2.2 ConfigParser Objects


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.

See About this document... for information on suggesting changes.