“Создайте Gui Python” Ответ

Python Gui

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

Создайте Gui Python

'''
Different modules exists, from the simpliest to the most complete.
By order I would (subjectively) recommand
- Tkinter | simple, allows to do small board games. Quite good
          | to begin with GUIs
          
- pysimplegui | a little bit more complete, allows to manipulate more
              | easily events, objects and layout
              
- PyQt5 | One the most complete. Using the Qt technology, this allows
        | to build complex and conventionnal GUI. Quite hard to master
        | requires to be at ease with classes, layouts and events
'''
Chall3nger

GUI Python

from tkinter import *

root = Tk()

myLabel = Label(root, text = "Any text")

myLabel.pack()

root.mainloop()
Mushy Mink

графический интерфейс в 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

Ответы похожие на “Создайте Gui Python”

Вопросы похожие на “Создайте Gui Python”

Больше похожих ответов на “Создайте Gui Python” по Python

Смотреть популярные ответы по языку

Смотреть другие языки программирования