In [1]:
import os
In [2]:
print(os.getcwd())
In [3]:
!pwd
In [4]:
%pwd
Out[4]:
In [5]:
!cd data
In [6]:
print(os.getcwd())
In [7]:
%cd data
In [8]:
print(os.getcwd())
In [9]:
!pwd
In [10]:
%pwd
Out[10]:
In [11]:
cd ..
In [12]:
print(os.getcwd())
In [13]:
os.chdir('data')
In [14]:
print(os.getcwd())