pythonw.exe não está respondendo

Estou aprendendo Python2.7 há um pouco agora. Estou usando o Windows 7 de 64 bits. Comecei a aprender GUI e tenho tentado usar wxpython e IDLE para isso. Então eu digito algum código:

import wx
app = wx.App()
win = wx.Frame(None)
win.Show()
app.MainLoop()

Eu corro o programa e a janela aparece, mas a rosquinha azul está lá. Eu tento fechar a janela e ele diz que pythonw.exe não está respondendo. Outra janela aparece sobre o wxpython. Diz

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

O que está errado e como corrigi-lo?

Obrigado

questionAnswers(4)

yourAnswerToTheQuestion