Hello, I am Xiao Wu 🐶

Last time I shared a trick to quickly open the Jupyter Notebook in a specified folder.

That method was whittled down to just typing a few letters, but it wasn’t lazy enough! Today we can double click to open. Ipynb file!

Now we just need a simple setup to implement this requirement.

Set the method

The first step

Let’s go to the jupyter Notebook shortcut on the desktop and right-click > Properties > Select Target.

If you don’t have a shortcut on your desktop, you can create it by dragging and dropping it from the Start menu bar.

The second step

Create a new TXT text document and copy the contents of the target into the document.

Next change the USERPROFILE to 1 (be careful not to change any other text such as Spaces)

After saving the file, change the file name extension. TXT to. Bat. You can change the file name at will.

The third step

Select any.ipynb file you want to open, [right-click] > [Properties] > [Open method] > [Change] > select the new text document we just created. Bat.

After the above three steps, you can double-click any. Ipynb files to open, directly jump to the Jupyter notebook!

Give us a thumbs up for being lazy 🚀