os module to check current working directory code example
Example: get current working directory python
# print current working directory in python
import os
cwd = os.getcwd()
print(cwd)
# print current working directory in python
import os
cwd = os.getcwd()
print(cwd)