Running os.chdir(NEW_PATH) will change the working directory.
import os
os.getcwd()
Out[2]:
'/tmp'
In [3]:
os.chdir("https://stackoverflow.com/")
In [4]:
os.getcwd()
Out[4]:
"https://stackoverflow.com/"
In [ ]:
Running os.chdir(NEW_PATH) will change the working directory.
import os
os.getcwd()
Out[2]:
'/tmp'
In [3]:
os.chdir("https://stackoverflow.com/")
In [4]:
os.getcwd()
Out[4]:
"https://stackoverflow.com/"
In [ ]: