code: def get_conf(conf, sect, opt):
      
      argu = getattr(args, "mambupy_"+opt.lower())
  
      if not argu:
          envir = os.environ.get("MAMBUPY_"+opt.upper())
          if not envir:
              try:
                  return conf.get(sect,opt)
              except NoSectionError:
                  return default_configs[opt]
          return envir
      return argu
docs: Gets a config 'opt' from 'conf' file, under section 'sect'.
  
      If no 'opt' exists under 'sect', it looks for option on the default_configs
      dictionary
  
      If there exists an environmental variable named MAMBUPY_{upper_case_opt},
      it overrides whatever the conf files or default_configs dict says.
  
      But if you send a command line argument named mambupy_{lower_case_opt},
      it overrides anything else.
  
      Args:
       conf (ConfigParser): ConfigParser that reads from certain config file (INI
                            format)
       sect (string): section under the config file
       opt (string): option to read
  
      Returns:
       string: configuration option. If not found on conf, returns a value from
               default_configs dict. If environmental variable exists with name
               MAMBUPY_{upper_case_opt} it overrides anything else