“Как сделать окно с tkinter” Ответ

Как сделать окно Tkinter

from tkinter import *

mywindow = Tk() #Change the name for every window you make
mywindow.title("New Project") #This will be the window title
mywindow.geometry("780x640") #This will be the window size (str)
mywindow.minsize(540, 420) #This will be set a limit for the window's minimum size (int)
mywindow.configure(bg="blue") #This will be the background color

mywindow.mainloop() #You must add this at the end to show the window
KKNich

Как создать окно в tkinter

import tkinter as tk

window = tk.Tk() #Creates a window
window.title("Trial") # Sets a title for the window
window.geometry(520,850)# Size of window optional
window.minisize(520,850) # Minimum size of window

window.mainloop()# Sets visiblility to true
VScoder

Сделать окно Tkinter

#!/usr/bin/python

import Tkinter
top = Tkinter.Tk()
# Code to add widgets will go here...
top.mainloop()
Crowded Cottonmouth

Основное окно Tkinter

from tkinter import *

root = Tk()
root.title("Hello World")
message_label = Label(root, text="Hello World")
message_label.pack()

root.mainloop()
Old Pizza

Как сделать окно с tkinter

import tkinter

root = Tk()

root.title("hello")

root.mainloop()
ultra

Ответы похожие на “Как сделать окно с tkinter”

Вопросы похожие на “Как сделать окно с tkinter”

Больше похожих ответов на “Как сделать окно с tkinter” по Python

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

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