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

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
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()