Skip to content

Instantly share code, notes, and snippets.

@vtemian
Created January 20, 2015 20:36
Show Gist options
  • Save vtemian/192cd39f337f48c9a426 to your computer and use it in GitHub Desktop.
Save vtemian/192cd39f337f48c9a426 to your computer and use it in GitHub Desktop.
configfile = '~/config.py'
import os
import sys
sys.path.append(os.path.dirname(os.path.expanduser(configfile)))
import config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment