ConfigParser instances have the following methods:
DEFAULT is notincluded in the list.DEFAULT section is not acknowledged.import ConfigParser, osconfig = ConfigParser.ConfigParser()config.readfp(open('defaults.cfg'))config.read(['site.cfg', os.path.expanduser('~/.myapp.cfg')])1,yes,true, andon,which cause this method to return true, and0,no,false, andoff, which cause it to return false. Thesevalues are checked in a case-insensitive manner. Any other value willcause it to raiseValueError.| Python Library Reference |