how to set default file directory for jupyter notebook code example
Example 1: how to set default file directory for jupyter notebook
%cd "C:\abc\xyz\"
Example 2: how to set default file directory for jupyter notebook
import os
os.getcwd()
Out[2]:
'/tmp'
In [3]:
os.chdir('/')
In [4]:
os.getcwd()
Out[4]:
'/'
In [ ]: