code: def load_ini(self):
          
          if not self.config_file:
              return
  
          # Load INI file
          ini_file = ConfigParser.SafeConfigParser()
          if not ini_file.read(self.config_file):
              raise ConfigParser.ParsingError("Global configuration file %r not found!" % (
                  self.config_file,
              ))
  
          """
          # Make sure there's our global settings section
          if not ini_file.has_section(self.SECTION):
              raise ConfigParser.ParsingError("%r needs to have a [%s] section!" % (
                  self.config_file, self.SECTION,
              ))
  
          # Get the given values
          for key, val in ini_file.items(self.SECTION):
              # Ensure that all names are known (to prevent uncaught typos)
              if key not in self.KEYS:
                  raise ConfigParser.ParsingError("%r has an unknown key %s in the [%s] section!" % (
                      self.config_file, key, self.SECTION,
                  ))
  
              # Do some shell-like path expansion
              val = os.path.expanduser(os.path.expandvars(val))
  
              # Set as attribute for easy access
              setattr(self, key, val)
          """
  
          self._validate()
docs: Load the given .INI file.