TECHIES WORLD

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

LinuxPython

Change directory Python

To change the working directory in Python we can use os module.

import os
os.chdir(path)

Where 'path' is the full path of the folder that need to be changed.

 

Leave a Reply