asdrubalivan

pygameprueba.py

Dec 5th, 2011
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.22 KB | None | 0 0
  1. import pygame
  2. from pygame.locals import *
  3.  
  4. pygame.init()
  5. pantalla = pygame.display.set_mode((470,300))
  6.  
  7. while True:
  8.     for evento in pygame.event.get():
  9.         if evento.type == pygame.QUIT:
  10.             pygame.quit()
  11.  
  12.  
Advertisement
Add Comment
Please, Sign In to add comment