ConfigObj is a simple but powerful config file reader and writer: an ini file round tripper. Its main feature is that it is very easy to use, with a straightforward programmer's interface and a simple syntax for config files.
http://www.altroot.org/py-turbogears/py-configobj-4.4.0.tar.gz