how to change direction of file in python code example Example: setwd python os.chdir("/home/varun/temp")