1

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?

Shimmy Weitzhandler
  • 101,809
  • 122
  • 424
  • 632

2 Answers2

3

I also had this issue. Here is what I did.

  1. Right click on a python program.
  2. Select properties.
  3. You will find "opens with" option in the general tab.
  4. 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