#import os module import os #set up test workspace with permissions in editor testfolder = "WORKSPACE" value = os.getenv(testfolder) #Change directory to test workspace os.chdir(value) print ("Current directory:" , os.getcwd()) #create a new directory os.mkdir("mydir") #change the currently running directory os.chdir("mydir") #Print the updated directory path print ("Updated directory:" , os.getcwd())