python how to change back to the later directory

Solutions on MaxInterview for python how to change back to the later directory by the best coders in the world

showing results for - "python how to change back to the later directory"
Amelie
14 Oct 2016
1import os
2#just write the whole file path in the change directory function
3os.chdir('C:User/.../the_name_of_the_directory')
4#Just fo check
5os.getcwd()