iniparse is a INI parser for Python which is:
Compatible with ConfigParser: Backward compatible implementations of \
ConfigParser, RawConfigParser, and SafeConfigParser are included that \
are API-compatible with the Python standard library.
Preserves structure of INI files: Order of sections & options, \
indentation, comments, and blank lines are preserved as far as possible \
when data is updated.
More convenient: Values can be accessed using dotted notation \
(cfg.user.name), or using container syntax (cfg['user']['name']).