For this unit, work through the following preparatory activities.
The first three sections of An Introduction to Tkinter:
from
tkinter import *
, with a small “t”, rather than the
capitalized version they give in their example.
It’s also worth noting the list of interface tools, known as widgets listed under the “Tkinter Classes” section and then again individually under “Part II”. This listing, called an Application Programmers Interface (API), includes detailed descriptions of what the widgets do and how to use them.
When finished, try to use the sample code in the third section to build a simple interface that looks as follows. The “Quit” button should, of course, terminate the program.
You can find the final version of the sample code here: code/tips/*