Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python
- import sys, pygame
- pygame.init()
- size = width, height = 600,400
- screen = pygame.display.set_mode(size)
- while 1:
- for event in pygame.event.get():
- if event.type == pygame.QUIT:
- sys.exit()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement