“GUI def Python” Respostas de código

Python GUI

import tkinter as tk
#Importing the main module
window = tk.Tk()
window.mainloop()
Outstanding Ox

GUI def Python

# main library is tkinter so lets go
import tkinter as tk
root = tk.Tk()
#root.geometry("widthxheight+spcefromleft+spacefromright") lets set h and w
root.geometry("500x200+0+0")
# loop your window 
root.mainloop()
MrprogRammer75

GUI em 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()
Nice Nightingale

Respostas semelhantes a “GUI def Python”

Perguntas semelhantes a “GUI def Python”

Mais respostas relacionadas para “GUI def Python” em Python

Procure respostas de código populares por idioma

Procurar outros idiomas de código