Improving IPython Notebook integration with Windows

January 07, 2014 | 0 Minute Read

By default, the awesomely useful and fun IPython Notebook does not integrate with Windows so seamlessly. A console and then the notebook server must be opened in the proper directory in order to open a new or existing notebook. These extra steps make the IPython Notebook slightly less ideal for quickly jotting down ideas—one of its greatest uses!

Not to fear, however, as the Windows Registry can easily be modified to

  1. Open notebooks directly from Windows Explorer.
  2. Create a shortcut to launch the IPython Notebook server within the current directory.

Simply download and run ipython.reg to add the entries shown below to your registry automatically.

These entries were put together from instructions located here. A similar solution can also be found here.

Windows Registry Editor Version 5.00

@="Open IPython Notebook server here"

@="\"C:\\Python27\\Scripts\\ipython.exe\" \"notebook\" \"%V\""

@="Open IPython Notebook server here"

@="\"C:\\Python27\\Scripts\\ipython.exe\" \"notebook\" \"%V\""

@="\"C:\\Python27\\Scripts\\ipython.exe\" \"notebook\" \"%1\""