Skip to content

Instantly share code, notes, and snippets.

@etscrivner
Last active August 29, 2015 14:02
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 etscrivner/826b152a0f41d26acea1 to your computer and use it in GitHub Desktop.
Save etscrivner/826b152a0f41d26acea1 to your computer and use it in GitHub Desktop.
Application using the simple config
import sys
import config
if __name__ == '__main__':
cfg = config.Config()
print 'Welcome to {}'.format(cfg.get(config.APP_NAME))
print sys.argv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment