Hello everybody
Today in this video we will be learning how to create a desktop window using pygame module and python programming
CODE AS IN VIDEO:
import pygame
pygame.init()
x = 500
y = 600
red = (255,0,0)
window = pygame.display.set_mode((x,y))
over = False
while over == False:
for event in pygame.event.get():
if event.type == pygame.QUIT:
over = True
#window.fill(red)
pygame.display.update()
------------------------------
Good bye see you in the next video tutorial