Python получить путь сценария
os.getcwd()
Nasty Nightingale
os.getcwd()
import os
os.path.abspath(__file__) # Directory of current python script
#Output will look something like: C:\Users\UserName\Desktop\py-script.py