Código Python:
Ver originalimport pygame
pygame.init()
SIZE = (640, 480)
screen = pygame.display.set_mode(SIZE)
running = True
while running:
for event in pygame.event.get():
if event.type == pygame.QUIT:
running = False
Prueba con el hola mundo de pygame.