IPython Notebook save location

前端 未结 8 1857
闹比i
闹比i 2020-12-07 08:55

I just started IPython Notebook, and I tried to use \"Save\" to save my progress. However, instead of saving the *.ipynb in my current working directory, it is saved in my p

相关标签:
8条回答
  • 2020-12-07 09:50

    If you're using IPython 4.x/Jupyter, run

    $ jupyter notebook --generate-config
    

    This will create a file jupyter_notebook_config.py in ~/.jupyter. This file already has a line starting with # c.NotebookApp.notebook_dir=u''.

    All you need to do is to uncomment this line and change the value to your desired location, e.g., c.NotebookApp.notebook_dir=u'/home/alice/my_ipython_notebooks'

    0 讨论(0)
  • 2020-12-07 09:52

    Just cd to your working folder and then start the IPython notebook server. This way you can be mobile.

    0 讨论(0)
提交回复
热议问题