<filename>GetListOfDoc.py
import os

a = os.path.dirname(os.path.abspath(__file__))

print("thisimy path: \n" + str(a))
<filename>GetListOfDoc.py
import os

a = os.path.dirname(os.path.abspath(__file__))

print("thisimy path: \n" + str(a))