ConfigParser instances have the following methods:
DEFAULT is not
included in the list.
DEFAULT section is not acknowledged.
import ConfigParser, os
config = ConfigParser.ConfigParser()
config.readfp(open('defaults.cfg'))
config.read(['site.cfg', os.path.expanduser('~/.myapp.cfg')])
1, yes, true, and on,
which cause this method to return true, and 0, no,
false, and off, which cause it to return false. These
values are checked in a case-insensitive manner. Any other value will
cause it to raise ValueError.