fbpx

How to Pin to Start a Python Script in Windows 10

I have a small script in Python which opens a random folder on my data drive. This is my dumb way of finding opportunities for cleaning up data.

Anyway, I wanted to pin it to Start to make it easily accessible. I don’t use desktop icons at all so having a desktop shortcut wouldn’t work for me.

When you right-click the file you’d expect to find the option to “Pin to Start”, right? Well, it’s not there for .py files. So how can you pin it to Start?

Here is what you need to do:

Create a shortcut for your .py file in:
“C:\Users\<user>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs”

Click the Start button, go to All apps and find your file there.

Right click it and select “Pin to Start”.

Your Python script is now pinned to Start :]

Leave a Comment