os.chdir(path) changes the current working directory : Path : File PYTHON TUTORIALS


PYTHON TUTORIALS » File » Path »

 

os.chdir(path) changes the current working directory


import os

os.chdir("/test")
print os.path.abspath(".")



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo File
» Path