WebPyHelp

View on GitHub

UNOFFICIAL

Tkinter Windows In Python

To make a window, Input this line for tkinter:
from tkinter import *

Now to make a window. Input theese:

YOUR WINDOW NAME = Tk()
your window name.title('Titlebar Text')
YOUR WINDOW NAME.geometry('width x height')

Lastly, Input YOUR WINDOW NAME HERE.mainloop()

boom window!

How do I Destroy the window?

Use the following command (beware, it destroys all the Labels,Buttons, Etc.)
Command: window name here.destroy()

(if you are a grepper user and were redirected from a link, This website is either from the owner {Cooldudeseven7} Or another user has decided to use this link as an example in his grepper awnser. )