0
python pygame crash
okay, when i run it it starts up the screen and immediately closes can any one tell me why import pygame W, H = 1280, 720 WIN = pygame.display.set_mode((W, H)) def main(): run = True while run: for event in pygame.event.get(): if event.type == pygame.QUIT: run = False pygame.quit() if __name__ == "__main___": main()
1 Resposta
0
Ah, hard to notice when the underscores just merge together...