Answers for "how to access the screen in python"

0

how to make a screen in python

import pygame
pygame.init()

sh = int(500)
sw = int(500)
win = pygame.display.set_mode((sh, sw))

run = True
while run:
    pygame.time.delay(100)
	for event in pygame.event.get():
        if event.type == pygame.QUIT:
            run = False
Posted by: Guest on May-08-2020

Code answers related to "how to access the screen in python"

Python Answers by Framework

Browse Popular Code Answers by Language