pythonw.exe no responde
He estado aprendiendo Python2.7 por un tiempo ahora. Estoy usando Windows 7 de 64 bits por cierto. Comencé a aprender GUI y he estado tratando de usar wxpython e IDLE para esto. Entonces escribo un código:
import wx
app = wx.App()
win = wx.Frame(None)
win.Show()
app.MainLoop()
Yo ejecuto el programa y aparece la ventana, pero la dona azul está ahí. Intento cerrar la ventana y dice que pythonw.exe no responde. Aparece otra ventana sobre wxpython. Dice
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
Qué está mal y cómo lo soluciono?
Gracias