Skip to content

Instantly share code, notes, and snippets.

@sxddhxrthx
Last active July 2, 2021 15:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sxddhxrthx/0895bddee78a99accc885a67d0bde994 to your computer and use it in GitHub Desktop.
Save sxddhxrthx/0895bddee78a99accc885a67d0bde994 to your computer and use it in GitHub Desktop.
import json
with open('/etc/app_config/config.json', 'r') as config_file:
cfg = config_file.read()
configs = json.loads(cfg)
print(configs['GITHUB_URL'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment