Installed the IronPython tools for VS 2010 but it didn't associate the *.py files to VS, neither did it (obviously) change the *.py files' icon. How do I do that in Windows 7?
Asked
Active
Viewed 4,533 times
2 Answers
3
I also had this issue. Here is what I did.
- Right click on a python program.
- Select properties.
- You will find "opens with" option in the general tab.
- Click change and select "python.exe".
Now, you will have your python icons back for all .py type of files.

Naive_Natural2511
- 687
- 2
- 8
- 20
-
I can see this changing the icon, but now it executes the file when I click it instead of opening it with my editor. Hopefully the icon could be changed without messing up other things. – Diego-MX Dec 04 '15 at 18:00
-
If you want to open it in a editor, you have to open your editor first, and then open the program from open icon in the editor. @Diego – Naive_Natural2511 Dec 06 '15 at 03:54
-
I know how to open a file with a specific application. I just don't like its icon linked to the program to _open with_, instead of the filetype associated to the extension. – Diego-MX Dec 07 '15 at 13:53
1
You either go to Tools -> Folder Options -> File Types
dialog from Windows Explorer or you use the freeware Detault Programs Editor utility.

the_void
- 5,512
- 2
- 28
- 34
-
1Sounds fair enough. If you have a nice icon file for *.py, please include in your answer. – Shimmy Weitzhandler Jul 05 '10 at 09:06
-
Thanks a lot!! if you have more ideas post them as well! that link is anyway a good useful link for any dev looking for icons! – Shimmy Weitzhandler Jul 05 '10 at 18:14