Posts by Joao Paulo • 19 points
2 posts
-
-1
votes1
answer35
viewsQ: What is the use of nested classes in python? for which I would use something like that?
I can’t find much python-like, I know you can do that and I know how to do it, but I don’t know why anyone would want to do that, since the inner class is unable to access the attributes and methods…
-
2
votes3
answers484
viewsA: I can’t make the Pygame window close button work
this is easy to solve, just use the native function Exit, whose goal is to close the program pygame.quit() is for solving a pygame bug and should always be called before closing import pygame from…