Skip to content

Instantly share code, notes, and snippets.

@duobei
Created November 13, 2012 01:37
Show Gist options
  • Save duobei/4063324 to your computer and use it in GitHub Desktop.
Save duobei/4063324 to your computer and use it in GitHub Desktop.
ROOT_PATH = os.path.dirname(os.path.abspath(__file__))
if ROOT_PATH not in sys.path:
sys.path.append(ROOT_PATH)
sys.path.insert(0,ROOT_PATH);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment