I'm learning python on x64 windows 7 machine. But after installing and uninstalling python 2.7 and 3.2 a few times too many (i just found out 3.x doesn't support some of the 3rd party libraries like PIL), i have lost .py file association(when i double click my python scripts, windows asks me to choose a program to open it with instead of making python interpret it). How can i fix the issue?
migrated from stackoverflow.com Sep 23 '12 at 22:11
This question came from our site for professional and enthusiast programmers.
considering you've already set the path in environment variables:
or using IDLE:
start IDLE --> press CTRL+O --> open your file --> press F5