Tkinter Introduction
Learn about dialogs as well as the Tkinter structure, which comes bundled with the standard Python distribution.
Introduction to Tkinter
There are several GUI (Graphical User Interface, pronounced “gooey”) systems that can be used with Python. Here, we’ll mainly focus on Tkinter, which comes bundled with the standard Python distribution.
Tkinter is the standard GUI library that comes preinstalled with Python and provides a very simple and easy to use interface that allows users to create GUI applications. It has a wide collection of widgets, including buttons, menus and textfields, each of which can help users create and build GUI elements.
Dialogs in Tkinter
Many programs do not require a full GUI, just a dialog box or two. Tkinter provides a number of these. To use them, import messagebox
, simpledialog
, and/or filedialog
from Tkinter.
Message boxes
...Get hands-on with 1400+ tech skills courses.