Start IPython notebook server without running web browser?
Question:
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 need to open a web browser.
Answers:
Is this what you want?
$ ipython notebook --no-browser
Edit
Now you should use instead
$ jupyter notebook --no-browser
Since
ipython notebook
is deprecated and will be removed in future versions.
You likely want to use jupyter notebook
in the future
If you don’t want to type ipython notebook --no-browser
all the time,
for ipython 4.0 with jupyter:
-
generate config
jupyter notebook --generate-config
it would create a file at some place like
win: C:Users[YouUserName].jupyterjupyter_notebook_config.py
linux: ~/.jupyter/jupyter_notebook_config.py
-
add c.NotebookApp.open_browser = False
to this file.
All done!
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 need to open a web browser.
Is this what you want?
$ ipython notebook --no-browser
Edit
Now you should use instead
$ jupyter notebook --no-browser
Since
ipython notebook
is deprecated and will be removed in future versions.
You likely want to usejupyter notebook
in the future
If you don’t want to type ipython notebook --no-browser
all the time,
for ipython 4.0 with jupyter:
-
generate config
jupyter notebook --generate-config
it would create a file at some place like
win:
C:Users[YouUserName].jupyterjupyter_notebook_config.py
linux:
~/.jupyter/jupyter_notebook_config.py
-
add
c.NotebookApp.open_browser = False
to this file.
All done!