tkinter

The standard library module that lets Python programs create windows and graphics using Tk.

In more detail

Idle is built on tkinter, and so is the graphics.py module the course uses. If import tkinter fails with ModuleNotFoundError, Tk support was not installed: tick tcl/tk on Windows, brew install python-tk on a Mac, or install python3-tk on Debian and Ubuntu.

Example

python3 -m tkinter

Related terms

Taught in

References