[wingide-users] Tkinter and WingIDE 5
philmorefield at yahoo.com
Wed Feb 19 20:04:35 EST 2014
Thanks Stephan. I went back and looked at project properties, and sure enough I had changed the Main Entry Point for the debug process to an unrelated project. Once I cleared that, the original example script worked fine.
From: Wing IDE Support [via WingIDE] <ml-node+s992054n4655880h13 at n4.nabble.com>
To: barefootedbandit <philmorefield at yahoo.com>
Sent: Wednesday, February 19, 2014 10:02 AM
Subject: Re: Tkinter and WingIDE 5
> I'm trying to run even the simplest Tkinter program in WingIDE 5 (Python
> 2.7). This code, for example:
> *import Tkinter
> def main():
> root = Tkinter.Tk()
> if __name__ == '__main__':
> When I run this in Wing I get nothing. It appears to just run the script,
> ignoring the mainloop. There is no error. No stack trace. Nothing.
> In any other IDE, it does what I expect which is launch a small blank Tk
> window. I've seen videos of people running this same program in Wing. What
> am I missing?
Can you try it again and then send us a bug report from Wing's Help
menu, including the error log when prompted?
That may show us what is going wrong.
A common problem that has popped up several times lately is setting the
Python Executable in Project Properties (or the Configure Python dialog
in Wing 101) to a *.py file. It should be the python.exe or python
interpreter executable you want to use with your code. You can set the
main debug file from the Debug menu, Project Properties, or by right
clicking on the file in the Project tool.
Wingware | Python IDE
The Intelligent Development Environment for Python Programmers
Wing IDE users list
If you reply to this email, your message will be added to the discussion below:http://wingide.992054.n4.nabble.com/Tkinter-and-WingIDE-5-tp4655879p4655880.html
To unsubscribe from Tkinter and WingIDE 5, click here.
View this message in context: http://wingide.992054.n4.nabble.com/Tkinter-and-WingIDE-5-tp4655879p4655881.html
Sent from the WingIDE - User mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the wingide-users