how to display the name of the current directory in python with os module code example
Example 1: get diroctary in python
import os
cwd = os.getcwd()
print(cwd)
Example 2: how to check in which directory python in running
import os
cwd = os.getcwd()