setwd python
os.chdir("/home/varun/temp")
Lazy Lion
os.chdir("/home/varun/temp")
# print current working directory in python
import os
cwd = os.getcwd()
print(cwd)
import os
os.chdir(path)