get current folder path in python code example
Example 1: python get current directory
import os
print(os.getcwd())
Example 2: get path to current directory python
import os
os.path.abspath(os.getcwd())
Example 3: get working directory python
import os
os.getcwd()