First time here? Check out the FAQ!

Link *.py files to wing-personal.exe

In Windows 7, I'd like to have the IDE start up as soon as I double click on a *.py file.

While this worked well in previous versions, this is no longer the case for 6.0.7.-1 personal.

What happens now is that the *.py file gets directly executed when I use wing-personal.exe as the standard app for execution.

Using console_wing-personal.exe instead works, but shows an additional nasty console window I'd rather try to avoid.

What am I missing?

Thomas Wagner's avatar
Thomas Wagner
asked 2017-09-26 13:09:00 -0500
Wingware Support's avatar
Wingware Support
updated 2019-03-13 10:13:20 -0500
edit flag offensive 0 remove flag close merge delete


add a comment see more comments

1 Answer


The Wing installer does not add the registry entries to open when a .py file is double-clicked because the Python installer sets things up so that python.exe executes a file when a .py file is double-clicked.  I suspect what happened is that you selected wing as the program to run on double-click and then installed / reinstalled python which reset the registry entries.  I suggest using Edit with Wing from the right click context menu rather that relying on double-clicking opening a .py file in Wing. 

Wingware Support's avatar
Wingware Support
answered 2017-09-26 13:56:00 -0500
edit flag offensive 0 remove flag delete link


I did not install or reinstall Python after installing Wing.It is correct that "Edit with Wing" from the right click menu works properly.However, what I do not manage is to get ""edit with wing" executed when I double click the *.py file. As soon as I conect the py file with wing-personal.exe, the python interpreter is called when double clicking the py file.That worked different in the old version. How do I get there again?

Thomas Wagner's avatar Thomas Wagner (2017-09-26 15:18:00 -0500) edit

The Wing installer doesn't try to set things up so that double-clicking a .py file opens it in Wing; this has not changed in years. How are you trying to connect .py files with wing-personal.exe?  I think there's multiple ways to do this and I don't know enough about Windows to say what the best way to do this is.

Wingware Support's avatar Wingware Support (2017-09-26 16:58:00 -0500) edit

What I do is the following (descriptions may not reflect the actual labels of buttons etc since I am translating from German):* open Windows explorer and right click on *.py file* select "open with" and then "select standard program"* manually select "wing-personal.exe"as the standard program for execution and check the checkbox "use as default". "wing-personal.exe" does not show up in the shortlist, I have to select it with the file selector. Even after I select it, it does not show up in the short list, but only a python.exe shows up there. This is differenet from the procedure for console_wing-personal.exe: if I execute the same procedure for console_wing-personal.exe, it works.I have tried to first use another third program (an editor) to connect it to *.py, and this also worked. So it is not the case that the python.exe does not go away ... (more)

Thomas Wagner's avatar Thomas Wagner (2017-09-27 01:22:00 -0500) edit

I just tried using the "open with" dialog on Windows 10 and it works with wing-personal.exe.  I suspect the problem on your machine is that wing-personal isn't showing up in the list of applications after you select the .exe file.  I don't know what could cause this to fail on your machine; it's an issue with Window's file explorer / shell and not with Wing.  What we can do is try to set things up so that Wing is on the initial list of applications in the "open with" dialog.

Wingware Support's avatar Wingware Support (2017-09-27 11:00:00 -0500) edit

OK, thanks, if I can help reproduce things just let me know. This is a Win7 system, most actual version.

Thomas Wagner's avatar Thomas Wagner (2017-09-27 12:16:00 -0500) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer