I\'m tinkering around with pygame right now, and it seems like all the little programs that I make with it hang when I try to close them.
Take the following code, fo
I had a similar problem on knowing why I can't close pygame windows.. and searched.. and came across this..
I think this explains everything.. and good idea too..
as seen in: http://bytes.com/topic/python/answers/802028-pygame-window-not-closing-tut-not-helping
I think the issue is that you're running it from within IDLE. It looks like pyGame's event loop and Tkinter's event loop interfere with each other. If you run the scripts from the command line, it works.