XD blog

blog page

jupyter, notebook, python


2015-08-24 Open the notebook with a different browser

I was looking for an easy to launch the notebook server with a different browser than the default one. I created a batch file (for Windows but easily adaptable to Linux):

set PATH=%PATH%;C:\Python34_x64;C:\Python34_x64\Scripts
set PYTHONPATH=<extra_path>;%PYTHONPATH%
set BROWSER="C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
jupyter-notebook --notebook-dir=<your_folder_for_notebooks> --port=XXXX

The notebook opens on Chrome with the following url http://localhost:XXXX.


<-- -->

Xavier Dupré