[PYTHON] Opens in a new window when launching Jupyter Notebook (Windows)

This is the setting for opening a new window when starting Jupyter Notebook. I wrote it because there was no Windows version unexpectedly.

[Automatically open in new window when starting Jupyter Notebook] (http://qiita.com/irs/items/e39378206fb48e374806) I referred to. Mac version.

Execution environment

Windows 10 (64bit) Anaconda 4.4.0 (64bit)

Preparation

Creating a configuration file.

 > jupyter notebook --generate-config

It will be generated in /.jupyter/jupyter_notebook_config.py etc. in the location where Anaconda is installed.

setting change

Find c.NotebookApp.browser in jupyter_notebook_config.py and change it to:

c.NotebookApp.browser = '\"C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe\" %s --new-window'

% s is the URL and --new-window means it will open in a new window.

I can't think of exe enclosing "" "and then specifying options.

Recommended Posts

Opens in a new window when launching Jupyter Notebook (Windows)
Automatically opens in a new window when launching Jupyter Notebook
A note when I can't open Jupyter Notebook on Windows
Browser specification of Jupyter Notebook in Windows environment
Drawing a tree structure with D3.js in Jupyter Notebook
Current directory when creating a new one with Jupyter
Display HTML in Jupyter notebook
How to import NoteBook as a module in Jupyter (IPython)
Multiprocessing error in Jupyter Notebook
How to import NoteBook as a module in Jupyter (IPython)
Run Jupyter Notebook on windows
Hit a command in Python (Windows)
Post a Jupyter Notebook as a blog post
Make a sound with Jupyter notebook
View graphs inline in Jupyter Notebook
When creating a matrix in a list
When writing a program in Python
[Python] What to do if you get a ModuleNotFoundError when importing pandas using Jupyter Notebook in Anaconda
Error "Entry point not found" when starting Jupyter Notebook in virtual environment
Memory leak in Python Jupyter Lab (Notebook)?
Precautions when pickling a function in python
Make Jupyter Notebook a service on CentOS
[Python] [Windows] Take a screen capture in Python
How to execute commands in jupyter notebook
Run Jupyter notebook on a remote server
What I was addicted to when creating a web application in a windows environment
To output a value even in the middle of a cell with Jupyter Notebook
I get a strange window when I use the open directory dialog in Tkinter
A memorandum of how to execute the! Sudo magic command in Jupyter Notebook
What to do when the graph does not appear in jupyter (ipython) notebook
What to do if NotADirectoryError: [Errno 20] Not a directory:'xdg-settings' appears in jupyter notebook
Build a PYNQ environment on Ultra96 V2 and log in to Jupyter Notebook