Chapter 15.  Tkinter

Goodday, Bruce!

The focus here is to provide information about Tkinter, which has become the standard Python GUI. You will learn how it works and how you can create your first GUI-oriented applications.

Introduction to Tcl/Tk

Tk is a popular and endorsed toolkit developed by John Ousterhout that can handle windows, GUI events, and user interactions. This toolkit is provided as an extension for Tcl. That is why part of Tkinter is an interface to Tcl. Without these routines, the management of a GUI environment would require an application with many lines of code.

The toolkit was originally developed at the University of California, Berkeley, to be a supplement to Tcl (a language also developed by Ousterhout). After his transition ...

Get Python Developer's Handbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.