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
Sur cette page du site, vous pouvez voir la vidéo en ligne CREATE WINDOW USING PYGAME MODULE||PYGAME--PYTHON HINDI TUTORIAL durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur CODING LIFE 21 septembre 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 17 fois et il a aimé 0 téléspectateurs. Bon visionnage!