Skip to content

Instantly share code, notes, and snippets.

@wiccy46
Created March 20, 2020 11:50
Show Gist options
  • Save wiccy46/885858f24f7cc17789969ee54d77f933 to your computer and use it in GitHub Desktop.
Save wiccy46/885858f24f7cc17789969ee54d77f933 to your computer and use it in GitHub Desktop.
[project_root] Get cwd #python
import os
project_root = os.path.dirname(os.path.abspath(__file__))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment