Advertisement
metalx1000

Untitled

Feb 5th, 2012
403
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.22 KB | None | 0 0
  1. #!/usr/bin/python
  2.  
  3. import sys, pygame
  4. pygame.init()
  5.  
  6. size = width, height = 600,400
  7.  
  8. screen = pygame.display.set_mode(size)
  9.  
  10. while 1:
  11.     for event in pygame.event.get():
  12.         if event.type == pygame.QUIT:
  13.             sys.exit()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement