Tkinter is a GUI (graphical user interface) widget set for Python. This document was written for Python 2.7 and Tkinter 8.5 running in the X Window system under Linux. Your version may vary.
Pertinent references:
Fredrik Lundh, who wrote Tkinter, has two versions of his An Introduction to Tkinter: a more complete 1999 version and a 2005 version that presents a few newer features.
Python 2.7 quick reference: general information about the Python language.
For an example of a sizeable working application (around 1000 lines of code), see huey: A color and font selection tool. The design of this application demonstrates how to build your own compound widgets.
We'll start by looking at the visible part of Tkinter: creating the widgets and arranging them on the screen. Later we will talk about how to connect the face—the “front panel”—of the application to the logic behind it.