Starting your Jupyter Notebook with a double-click

Jupyter Notebooks are a great way of working with Python and R. You can add your notes in Markdown and write code in a cell that can be evaluated over and over again.

However, one thing I didn’t like is that you have to start (on Windows) the Jupyter Notebook server in the directory where you have your notebook saved. Double-clicking a Jupyter notebook (with the extension ipynb) doesn’t work if you don’t install an additional package. Luckily, there is an easy way to get this working found on Axel’s blog.

I used the following code to enable double-click on my Windows 10, Python 3.6 machine in the command window :

And afterwards in a command window with administrator rights:

After a restart of my computer I can now start the jupyter notebook server and use double-click on any notebook on my computer.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.