Tkinter allows you to create a user interface for your program. Use the lines of code below
Window
You need to create the window
Creating Objects
Your window can contain various objects – the common objects can be created using the lines of code below.
Labels
Buttons
Entry Widgets
Inserting Objects
Once the objects are created they must then be inserted into the window. You should choose only one method from those outlined below to avoid any confusion.
Pack
Grid
Place