Start IPython notebook server without running web browser?

后端 未结 2 1778
执念已碎
执念已碎 2020-12-28 12:13

I would like to use Emacs as main editor for iPython notebooks / Jupyter Notebook (with the package ein). I want to ask you if there is a way to run the server without the n

2条回答
  •  北荒
    北荒 (楼主)
    2020-12-28 12:51

    If you don't want to type ipython notebook --no-browser all the time,

    for ipython 4.0 with jupyter:

    1. generate config

      jupyter notebook --generate-config
      

      it would create a file at some place like

      win: C:\Users\[YouUserName]\.jupyter\jupyter_notebook_config.py

      linux: ~/.jupyter/jupyter_notebook_config.py

    2. add c.NotebookApp.open_browser = False to this file.

    All done!

提交回复
热议问题