Created
October 26, 2021 06:59
-
-
Save PaulleDemon/db075bf2e95c1f2c1b12cade453666ee to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
while True: | |
for event in event_queue: | |
if event == "quit": | |
break | |
elif event == "button_press": | |
update_button() | |
repaint() # draws buttons, labels, etc on the screen |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment