[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] new user




Thanks, mysterious stranger!

This works fine under pywin. Did not try under IDLE. I am enthralled by the autocomplete introspection in pythonwin....

I am also reading up on linking C(++) libraries to python re: previous question...

Ben

- wrote:
If the pygame window does not go away, make sure that you call pygame.quit() at the end ^_^

maybe with something like

try:
do_stuff()
finally:
pygame.quit()

Otherwise (in IDLE at least) your pygame window will hang around and confuse you by not going away when the X is clicked after your program has finished running.



---