how to permanently change working directory in python code example Example: setwd python os.chdir("/home/varun/temp")