How do I change the file association to a program with the same name in Windows 7?
Solution 1:
You can try free Default Programs Editor. I have a good experience with it.
Solution 2:
You could always make the change in the registry under:
HKEY_CLASSES_ROOT and HKEY_CURRENT_USER\Software\Classes
But I would highly recommend the program Types from Sourceforge for control over all parts of the association process.
Solution 3:
Its a workaround, but change the name of the 2.4 python.exe, then try to run a .py. It should though a file not found error. Then browse to the correct file. Feel free to rename the original 2.4 python.exe back to its former name.