January 2019
Beginner
318 pages
8h 23m
English
Using the os module, we can change the current working directory. For that, the os module has the chdir() function, for example:
>>> os.chdir('/home/student/work')>>> print(os.getcwd())/home/student/work>>>
Read now
Unlock full access