Notes on Python & Jupyter

How to double-click .py File to Open with Python IDLE

  1. Open regedit
  2. Use the code listed in: HKEY_CLASSES_ROOT\Python.File\Shell\editwithidle\shell\edit310\command
  3. To replace the code in: HKEY_CLASSES_ROOT\Python.File\Shell\open\command

How to open jupyter file with one doubleclick

pip install nbopen
python -m nbopen.install_win

Creating Jupyter shortcut

  1. Right click to create a shortcut on Desktop
  2. Enter the command: cmd /k jupyter notebook
  3. Give it a name. Click next to finish.
  4. Then right click to view the properties.
  5. Replace anything in the space for Start In with %cd%