Skip to content

Instantly share code, notes, and snippets.

@sapamja
Last active August 29, 2015 14:03
Show Gist options
  • Save sapamja/c75c0bc9f03163b554f7 to your computer and use it in GitHub Desktop.
Save sapamja/c75c0bc9f03163b554f7 to your computer and use it in GitHub Desktop.
getting basepath
base_path, _ = os.path.split(
os.path.dirname(os.path.realpath(__file__)
))
src = os.path.join(base_path, 'lib')
cfg = os.path.join(base_path, 'cfg')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment