0
Q:

os.cwd in python

# Python program to explain os.getcwd() method  
        
# importing os module  
import os  
    
# Get the current working  
# directory (CWD)  
cwd = os.getcwd()  
    
# Print the current working   
# directory (CWD)  
print("Current working directory:", cwd)  
1

New to Communities?

Join the community