TECHIES WORLD

For Techs.... Techniques.... Technologies....

LinuxPython

How to print the current working directory in Python

Os module provides the utility to print the current working directory.

import os
os.getcwd()

 

Leave a Reply