Tkinter is the standard GUI library for Python. Python when combined with Tkinter provides a fast and easy way to create GUI applications. Tkinter provides a powerful object-oriented interface to the Tk GUI toolkit.


Python provides the standard library Tkinter for creating the graphical user interface for desktop based applications.


Creating a GUI application using Tkinter is an easy task. All you need to do is perform the following steps −

  1. Import the Tkinter module.
  2. Create the GUI application main window.
  3. Add one or more of the above-mentioned widgets to the GUI application.
  4. Enter the main event loop to take action against each event triggered by the user.