Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 149 Bytes

py-current-directory.md

File metadata and controls

8 lines (6 loc) · 149 Bytes

We can print the current working directory using the os module:

import os

# Print the current working directory
print(os.getcwd())