Files
pytry/test.py
T
2014-02-05 10:44:04 +05:30

13 lines
275 B
Python

import pygame
from pygame.locals import *
pygame.init()
pygame.display.set_mode((200,200))
pygame.display.set_caption("wat?")
a=pygame.image.load("a.png");
while True:
# event check
for event in pygame.event.get():
if event.type == QUIT:
exit();