Config.Config

Module Config :: Class Config |
[show private | hide private]
[frames | no frames]

## Class Config

A configuration registry.

Method Summary
| ``__init__`(self, prototype, fileName)`
| ``get`(self, section, option)` Read a configuration key.
| ``set`(self, section, option, value)` Set the value of a configuration key.

Method Details

### __init__(self, prototype, fileName=None) (Constructor) Parameters: `prototype` - The configuration protype mapping `fileName` - The file that holds this configuration registry

### get(self, section, option) Read a configuration key. Parameters: `section` - Section name `option` - Option name Returns: Key value

### set(self, section, option, value) Set the value of a configuration key. Parameters: `section` - Section name `option` - Option name `value` - Value name

Generated by Epydoc 2.1 on Thu Nov 23 23:40:42 2006 | http://epydoc.sf.net