import os cwd = os.getcwd()
import os #Get Current working Directory currentDirectory = os.getcwd() #Change the Current working Directory os.chdir('/home/varun')