Skip to content

Instantly share code, notes, and snippets.

@erikbgithub
Created June 21, 2012 13:36
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 erikbgithub/2965757 to your computer and use it in GitHub Desktop.
Save erikbgithub/2965757 to your computer and use it in GitHub Desktop.
import sys
import os
import inspect
#enable importing from one path up
sys.path.append(os.path.abspath(os.path.dirname(inspect.getfile(inspect.currentframe())))+'/..')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment