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
On this page of the site you can watch the video online CREATE WINDOW USING PYGAME MODULE||PYGAME--PYTHON HINDI TUTORIAL with a duration of hours minute second in good quality, which was uploaded by the user CODING LIFE 21 September 2021, share the link with friends and acquaintances, this video has already been watched 17 times on youtube and it was liked by 0 viewers. Enjoy your viewing!