defaults(returns the dictionary of default values get(sectionoption [raw [vars]]returns the value of option option from section section as string by defaultthe returned string is processed through an interpolation step where format strings such as '%(option)sare expanded in this caseoption may the name of another configuration option in the same section or one of the default values supplied in the defaults parameter to configparser raw is boolean flag that disables this interpolation featurereturning the option unmodified vars is an optional dictionary containing more values for use in '%expansions getboolean(sectionoptionreturns the value of option from section section converted to boolean value values such as " ""true""yes""no""on"and "offare all understood and checked in case-insensitive manner variable interpolation is always performed by this method (see get() getfloat(sectionoptionreturns the value of option from section section converted to float with variable interpolation getint(sectionoptionreturns the value of option from section section converted to an integer with variable interpolation has_option(sectionoptionreturns true if section section has an option named option has_section(sectionreturns true if there is section named section items(section [raw [vars]]returns list of (optionvaluepairs from section section raw is boolean flag that disables the interpolation feature if set to true vars is dictionary of additional values that can be used in '%expansions options(sectionreturns list of all options in section section optionxform(optiontransforms the option name option to the string that' used to refer to the option by defaultthis is lowercase conversion read(filenamesreads configuration options from list of filenames and stores them filenames is either single stringin which case that is the filename that is reador list of filenames if any of the given filenames can' be foundthey are ignored this is useful if you want to read configuration files from many possible locationsbut where such files may or may not be defined list of the successfully parsed filenames is returned lib fl ff