I learned a little Python2.7. I am using Windows 7 64 bit BTW. I started learning the GUI and tried to use wxpython and IDLE for this. So I print the code:
import wx app = wx.App() win = wx.Frame(None) win.Show() app.MainLoop()
I run the program and a window pops up, but there is a blue donut. I am trying to close the window and it says pythonw.exe is not responding. Another window about wxpython will appear. It says:
wxPython stdout/stderr(Not Responding) Traceback (most recent call last): **IDLE Internal Exception: File "C:\Python27\lib\idlelib\run.py", line 93, in main seq, request = rpc.request_queue.get(block=True, timeout=0.05) File "C:\Python27\lib\Queue.py", line 177, in get self.not_empty.wait(remaining) File "C:\Python27\lib\threading.py", line 263, in wait _sleep(delay) typeError: 'int' object is not callable
What is wrong and how to fix it?
Thank.
python wxpython
Joshua Malott Apr 03 2018-12-12T00: 00Z
source share