import pygame, sys from pygame.locals import * pygame.init() DISPLAY = pygame.display.set_mode((1000,750)) pygame.display.set_caption('Hello Monkey!') while True : for event in pygame.event.get() : if event.type == QUIT : pygame.quit() sys.exit() pygame.display.update