code: def read_config():
      
      config = configparser.RawConfigParser(allow_no_value=True)
      config.read(get_config_path())
      if not config.has_section('credentials'):
          config.add_section('credentials')
          config.set('credentials', 'key', '')
          config.set('credentials', 'secret', '')
          write_config(config)
      return config
docs: Read configuration file