blob: ea97fd577dec034b8a2c5c42365e4e32a919fac3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/usr/bin/env python3
import pygame
pygame.init()
screen = pygame.display.set_mode((500, 1000))
while True:
for event in pygame.event.get():
if event.type == pygame.QUIT:
break
pygame.display.flip()
|