We can print the current working directory using the os module: import os # Print the current working directory print(os.getcwd())