text: #config files helps us to provide configuration
  #useful to store sensitive information in a separate file instead of main code block
  
  from configparser import ConfigParser
  
  file = 'config.ini'
  # Initialize the Parser.
  config = ConfigParser()
  config.read(file)
  
  print(config.sections())
  
  # Add the Section.
  config.add_section('main')
  
  # Set the Values.
  config.set('main', 'API_KEY', '')
  config.set('main', 'CHANNEL_ID', '')
  config.set('main', 'PLAYLIST_ID', '')
  
  # Write the file.
  with open('configs/config.ini', 'w+') as f:
      config.write(f)
  