Created
September 5, 2020 17:57
-
-
Save mbiemann/bd44a4f50f50aec8e24122f772a6f38e to your computer and use it in GitHub Desktop.
Python Get Script File Base Path (Directory)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
print( | |
os.path.dirname(os.path.abspath(__file__))+os.sep | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment