get absolute path from script python code example
Example: python file location path
import os
print('getcwd: ', os.getcwd())
print('__file__: ', __file__)
import os
print('getcwd: ', os.getcwd())
print('__file__: ', __file__)