Skip to content

Instantly share code, notes, and snippets.

@iamalbert
Last active July 5, 2017 06:43
Show Gist options
  • Save iamalbert/ea001dda9d22fabdab71cce5a0198853 to your computer and use it in GitHub Desktop.
Save iamalbert/ea001dda9d22fabdab71cce5a0198853 to your computer and use it in GitHub Desktop.
python utilities
# get dir of current file
import os
this_path = os.path.dirname(os.path.realpath(__file__))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment