python move the current directory to the previous one sys module code example Example: python reference to back folder os.chdir("../nodes")