amplee.loader.iniloader.Config:
Represents an INI file as a tree of Config instances
Say you have C{test.conf}:
[general]
verbose = True
>>> from amplee.loader import Config
>>> config = Config()
>>> config.from_ini('test.conf')
>>> print config.general.verbose
>>> True
Each loaded value is an unicode object except the following strings:
- 'True' --> True
- 'False' --> False
- 'None' --> None
An empty string will not be transformed into a None though.
type:
type(object) -> the object's type type(name, bases, dict)
-> a new type