Home | Trees | Indices | Help |
|
---|
|
ConfigParser.RawConfigParser --+ | ConfigParser.ConfigParser --+ | ConfigParser.SafeConfigParser --+ | Config
ConfigParser but with a sane api
>>> config = Config() >>> config.set('foo', 'bar', 'boo') >>> config.get('foo', 'bar', 'boo') 'boo' >>> config.get('foo', 'missing')
>>> config.get('foo', 'missing', 'default_value') 'default_value'
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
Class Variables | |
Inherited from |
Method Details |
|
|
|
Get an option value for a given section.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Mon Oct 1 20:58:01 2007 | http://epydoc.sourceforge.net |