how to get pwd directory of current file 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__)