| Home | Trees | Index | Help |
|---|
|
|
RawConfigParser --+
|
ConfigParser.ConfigParser --+
|
RcConfiguration
Interface object to QM configuration files.
Configuration files are in the format parsed by the standard 'ConfigParser' module, namely 'win.ini'--style files.
|
|||
|
__init__(self)
Create a new configuration instance. |
|||
|
Load(self,
section)
Load configuration. |
|||
|
Get(self,
option,
default,
section=None)
Retrieve a configuration variable. |
|||
|
GetOptions(self,
section=None)
Return a sequence of options. |
|||
|
Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
| user_rc_file_name | The name of the user configuration file. | ||
|
Inherited from Inherited from Inherited from |
|||
|
|||
|
Load configuration. 'section' -- The configuration section from which subsequent variables are loaded. |
Retrieve a configuration variable. 'option' -- The name of the option to retrieve. 'default' -- The default value to return if the option is not found. 'section' -- The section from which to retrieve the option. 'None' indicates the section specified to the 'Load' method for this instance. precondition -- The RC configuration must be loaded. |
Return a sequence of options. 'section' -- The section for which to list options, or 'None' for the section specified to 'Load'. precondition -- The RC configuration must be loaded. |
|
|||
user_rc_file_nameThe name of the user configuration file.
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 3.0alpha2 on Fri Sep 28 00:57:30 2007 | http://epydoc.sf.net |