In [1]:
import os
In [2]:
path = os.getcwd()
In [3]:
print(path)
In [4]:
print(type(path))
In [5]:
os.chdir('../')
In [6]:
print(os.getcwd())