file - get script directory name - Python - Stack Overflow

PHOTO EMBED

Wed May 25 2022 20:40:59 GMT+0000 (Coordinated Universal Time)

Saved by @HiTsH987 #python

import os
# get script directory name
os.getcwd()
content_copyCOPY

https://stackoverflow.com/questions/31258561/get-script-directory-name-python