configparser.ConfigParser.getint()

getint(section, option, *, raw=False, vars=None[, fallback]) A convenience method which coerces the option in the specified section to an integer. See get() for explanation of raw, vars and fallback.

configparser.ConfigParser.getfloat()

getfloat(section, option, *, raw=False, vars=None[, fallback]) A convenience method which coerces the option in the specified section to a floating point number. See get() for explanation of raw, vars and fallback.

configparser.ConfigParser.getboolean()

getboolean(section, option, *, raw=False, vars=None[, fallback]) A convenience method which coerces the option in the specified section to a Boolean value. Note that the accepted values for the option are '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 string values are checked in a case-insensitive manner. Any other value will cause it to raise ValueError. See get() for explanation of raw, vars an

configparser.ConfigParser.get()

get(section, option, *, raw=False, vars=None[, fallback]) Get an option value for the named section. If vars is provided, it must be a dictionary. The option is looked up in vars (if provided), section, and in DEFAULTSECT in that order. If the key is not found and fallback is provided, it is used as a fallback value. None can be provided as a fallback value. All the '%' interpolations are expanded in the return values, unless the raw argument is true. Values for interpolation keys are looked

configparser.ConfigParser.defaults()

defaults() Return a dictionary containing the instance-wide defaults.

configparser.ConfigParser.add_section()

add_section(section) Add a section named section to the instance. If a section by the given name already exists, DuplicateSectionError is raised. If the default section name is passed, ValueError is raised. The name of the section must be a string; if not, TypeError is raised. Changed in version 3.2: Non-string section names raise TypeError.

configparser.ConfigParser

class configparser.ConfigParser(defaults=None, dict_type=collections.OrderedDict, allow_no_value=False, delimiters=('=', ':'), comment_prefixes=('#', ';'), inline_comment_prefixes=None, strict=True, empty_lines_in_values=True, default_section=configparser.DEFAULTSECT, interpolation=BasicInterpolation(), converters={}) The main configuration parser. When defaults is given, it is initialized into the dictionary of intrinsic defaults. When dict_type is given, it will be used to create the dicti

configparser.BOOLEAN_STATES

configparser.BOOLEAN_STATES By default when using getboolean(), config parsers consider the following values True: '1', 'yes', 'true', 'on' and the following values False: '0', 'no', 'false', 'off'. You can override this by specifying a custom dictionary of strings and their Boolean outcomes. For example: >>> custom = configparser.ConfigParser() >>> custom['section1'] = {'funky': 'nope'} >>> custom['section1'].getboolean('funky') Traceback (most recent call last):

configparser.BasicInterpolation

class configparser.BasicInterpolation The default implementation used by ConfigParser. It enables values to contain format strings which refer to other values in the same section, or values in the special default section [1]. Additional default values can be provided on initialization. For example: [Paths] home_dir: /Users my_dir: %(home_dir)s/lumberjack my_pictures: %(my_dir)s/Pictures In the example above, ConfigParser with interpolation set to BasicInterpolation() would resolve %(home_di

concurrent.futures.wait()

concurrent.futures.wait(fs, timeout=None, return_when=ALL_COMPLETED) Wait for the Future instances (possibly created by different Executor instances) given by fs to complete. Returns a named 2-tuple of sets. The first set, named done, contains the futures that completed (finished or were cancelled) before the wait completed. The second set, named not_done, contains uncompleted futures. timeout can be used to control the maximum number of seconds to wait before returning. timeout can be an in