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
Double-clicking is not related to
PATH, but extension association.
Check register extension option when you install(or recover) the python.