[python入門] jupyter notebbok 查詢及修改工作目錄


開啟jupyter notebook,輸入%pwd,可查詢工作目錄的路徑



輸入%cd 路徑,可修改工作目錄,但重啟jupyter後會還原至先前的工作目錄
若重新設置初始工作目錄
1. 打開cmd輸入指令  jupyter notebook --generate-config 找到生成文件的路徑

2.在路徑中的 .jupyter資料夾內找到 jupyter_notebook_config.py,以notepad++開啟


3. Ctrl+F 搜尋 The directory 找到C.NotebookApp.notebook_dir = ' ' ,輸入欲設定的路徑後儲存


4.重啟 jupyter notebook 完成設定

留言

  1. great article.If you are looking for Garmin support Customer Service or Garmin express support
    , then you are at right place.  Here we used to provide a third party Garmin support number. We have highly skilled, certified (MCSE, CCNA) engineers worked 24*7, 365 days to give Garmin support. Our aim is to give  100% customer satisfaction.  We can say that in last  5 year we have solved countless Garmin GPS releated  issues and complaints from all over the world.

    回覆刪除

張貼留言

這個網誌中的熱門文章

[R 實作] 多份Excel 一次讀取、合併與匯出

[TED] 6 部 TED 演講釐清人生分叉路口思緒