python get complet path of a file 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__)