Skip to content

Instantly share code, notes, and snippets.

@CallMeReznov
Created April 2, 2019 12:27
Show Gist options
  • Save CallMeReznov/dd4f93bc36d72da8716a819fa0d4d59d to your computer and use it in GitHub Desktop.
Save CallMeReznov/dd4f93bc36d72da8716a819fa0d4d59d to your computer and use it in GitHub Desktop.

Revisions

  1. CallMeReznov created this gist Apr 2, 2019.
    6 changes: 6 additions & 0 deletions configparser.py
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    import configparser


    config = configparser.ConfigParser(strict=False)
    config.read('1.txt')
    print(config.get('red'))