Skip to content

Instantly share code, notes, and snippets.

@hortonew
Created January 11, 2013 00:07
Show Gist options
  • Select an option

  • Save hortonew/4506887 to your computer and use it in GitHub Desktop.

Select an option

Save hortonew/4506887 to your computer and use it in GitHub Desktop.
Pygame - Get a blank window to come up
import pygame
pygame.init()
screen = pygame.display.set_mode((800,600))
if __name__ == "__main__":
while True:
pygame.display.flip()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment