Skip to content

Instantly share code, notes, and snippets.

@brianpartridge
Created December 20, 2012 04:43
Show Gist options
  • Save brianpartridge/4343008 to your computer and use it in GitHub Desktop.
Save brianpartridge/4343008 to your computer and use it in GitHub Desktop.
Common Config - View
import json
import os, sys
path, script = os.path.split(sys.argv[0])
name, ext = os.path.splitext(script)
print "### %s ### " % name
config = json.load(open('config.json', 'r'))
print "Common configuration settings:"
print config
print "### Done ###"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment