OS.Chdir возвращается
import os
os.chdir('..')
Joyous Jaguar
import os
os.chdir('..')
import os
# chdir stands for Change Directory
directory_name = "C:\Users\Mike\folder" # For example
os.chdir(directory_name)