daily pastebin goal
76%
SHARE
TWEET

Untitled

a guest Mar 13th, 2018 43 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import pygame, sys,os
  2. from pygame.locals import *
  3.  
  4. pygame.init()
  5.  
  6. window = pygame.display.set_mode((800, 600))
  7. pygame.display.set_caption('Bas')
  8. screen = pygame.display.get_surface()
  9.  
  10.  
  11. pygame.display.flip()
  12.  
  13. def input(events):
  14.     for event in events:
  15.                if event.type == QUIT:
  16.             pygame.quit()
  17.             sys.exit(0)
  18.             pygame.quit()
  19.  
  20.  
  21.         else:
  22.             print event
  23.  
  24. while True:
  25.    input(pygame.event.get())
  26.  
  27.  
  28. pygame.quit()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top