Python Tkinter GUI Tutorial

Python Tkinter GUI

Posted by indranil on Jan. 19, 2021, 11:23 p.m.

How To Run Tkinter On Your Python Script

 

from tkinter import *

display = Tk()

#Width x Height
display.geometry("644x434")

#width, height
display.minsize(300,100)

indra = Label(text="Indranil's GUI")
indra.pack()

#width, height
display.maxsize(1200,988)

display.mainloop()

noimg Visit Link: digitalocean.com