[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] Re: Display won't close gracefully
Jakub Piotr CÅapa <jpc@...> writes:
> On the other hand there are other editors that do the same by default
> (PyScripter and PythonWin for IIRC). A small mention would be certainly
> helpful for some starters.
>
Since there's no harm in multiple calls to pygame.quit() (according to the
docs, anyway), I plan to just put it in my code in each place that I want to
end the game at. So from now on it shouldn't matter where I'm running the
code. That would be a useful tip for beginners.