import os print(os.path.abspath(''))
import os os.path.abspath(__file__) # Directory of current python script #Output will look something like: C:UsersUserNameDesktoppy-script.py