Last active
August 29, 2015 14:02
-
-
Save etscrivner/826b152a0f41d26acea1 to your computer and use it in GitHub Desktop.
Application using the simple config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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