Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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 [ ]:
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #set #default #file #directory #jupyter #notebook
ADD COMMENT
Topic
Name
4+9 =