py print working dir code example
Example 1: get working directory python
import os
os.getcwd()
Example 2: how to check in which directory python in running
import os
cwd = os.getcwd()
import os
os.getcwd()
import os
cwd = os.getcwd()