Answers for "how to create basic gui in python"

0

gui in python

import pygame
pygame.init()
W, H = 900, 500
WIN = pygame.display.set_mode((W, H))
run = True
while run:
  for event in pygame.event.get():
    if event.type == pygame.QUIT:
      run = False
pygame.quit()
Posted by: Guest on July-27-2021

Python Answers by Framework

Browse Popular Code Answers by Language