python checking current path code example
Example 1: working directory python
import os
cwd = os.getcwd()
Example 2: get path to current directory python
import os
os.path.abspath(os.getcwd())
import os
cwd = os.getcwd()
import os
os.path.abspath(os.getcwd())