Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to run Jupyter notebook without broswer (in different editor)?

I want the jupyter notebook to use something else than browser. Is there a way to do that? I saw emacs can be used but could not understand how to work with it.
If there are any editors that could be easily be setup with jupyter please let me know.

like image 442
kada Avatar asked Oct 26 '16 15:10

kada


People also ask

Can you run Jupyter Notebook locally?

(If you don't understand this yet, don't worry — the important point is just that although Jupyter Notebooks opens in your browser, it's being hosted and run on your local machine.

How do I open a Jupyter Notebook in a specific browser?

Step 2: Now you need to open the file on any editor (ex: sublime text) . one trick for finding the file is to copy the path /Users/USERNAME/. jupyter/jupyter_notebook_config.py from the terminal and paste it in the address bar of firefox, as firefox will come up with a pop up with download option.

Can you run a Jupyter Notebook from another notebook?

You can run a Jupyter notebook from another Jupyter notebook that has the same type of kernel. For example, you can run a Jupyter notebook with Spark kernel from another Jupyter notebook with Spark kernel. From the left Sidebar, select and right-click on the Jupyter notebook that has to be run from another notebook.


1 Answers

I believe that you were looking at Start IPython notebook server without running web browser?. Which specified...

$ ipython notebook --no-browser

I took a look at the source for notebook and that flag only sets true or false on the following variable

open_browser = Bool(True, config=True,
                    help="""Whether to open in a browser after starting.
                    The specific browser used is platform dependent and
                    determined by the python standard library `webbrowser`
                    module, unless it is overridden using the --browser
                    (NotebookApp.browser) configuration option.
                    """)

I'd suggest looking at jupyter/atom-notebook. It's likely the closest to what you are asking for, as notebook is designed to be served as a web application.

like image 155
cameres Avatar answered Oct 20 '22 20:10

cameres