minerals minerals - 10 months ago 32
Python Question

Python scripts stopped running on double-click in Windows

I always ran my scripts on windows by double-clicking them. However after I reinstalled my python versions this is not happenning. My python installations are on

. PATH has
in it. If I try to run a script from cmd, it works ok. But when I double-click any .py file nothing happens.

I am completely clueless as I don't use windows often for scripting.
What can be the reason for that?


Double-clicking is not related to PATH, but extension association.

Check register extension option when you install(or recover) the python.

enter image description here