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 :
1 2 |
pip install nbopen python -m nbopen.install_win |
And afterwards in a command window with administrator rights:
1 |
assoc .whl=jupyter& ftype jupyter=cmd.exe /c jupyter-notebook "%1" |
After a restart of my computer I can now start the jupyter notebook server and use double-click on any notebook on my computer.