Learn practical skills, build real-world projects, and advance your career
Updated 2 years ago
GUI using TKinter
from tkinter import *
In Tkinter, everything is created as widget. Whether it is a
label or button, these are created as widgets.
Also in Tkinter, everything is done in two steps:
- Creating widgets, and
- Putting them onto main screen/window
Labels and Packing in Tkinter
In Tkinter, labels are created using Label()
function. Packing basically means putting any widget onto screen or main window of GUI program.