Python tkinter: the standard interface to Tcl/Tk
Answer: The tkinter package is the standard Python interface to the Tcl/Tk GUI toolkit.
Platforms and versions
Tk and tkinter ship on Windows and on most Unix platforms, including macOS.
A range of Tcl/Tk versions is supported, built with or without thread support.
8.5.12 is the minimum supported Tcl/Tk version.
The official Python binary release bundles Tcl/Tk 9.0.
What the package adds
Tkinter is not a thin wrapper.
It adds a fair amount of its own logic to make the experience more pythonic.
Both old and new APIs are still available.
This is an optional module.
See also
Claims
- id: C1 claim: tkinter is the standard Python interface to Tcl/Tk. source: S1 evidence: "The tkinter package (“Tk interface”) is the standard Python interface to the Tcl/Tk GUI toolkit."
- id: C2 claim: Both old and new APIs remain available. source: S1 evidence: "Both old and new APIs are still available."
- id: C3 claim: tkinter is the standard Python interface to Tcl/Tk. source: S2 evidence: "The :mod:
!tkinterpackage (\"Tk interface\") is the standard Python interface to the Tcl/Tk GUI toolkit."
- id: C4 claim: Both old and new APIs remain available. source: S2 evidence: "Both old and new APIs are still available."
Sources
- [S1] tkinter — Python interface to Tcl/Tk. Python Software Foundation. https://docs.python.org/3/library/tkinter.html . License: PSF License Version 2. Accessed 2026-11-25.
- [S2] tkinter documentation (source). CPython. https://raw.githubusercontent.com/python/cpython/main/Doc/library/tkinter.rst . License: PSF License Version 2. Accessed 2026-11-25.
License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Python Software Foundation, tkinter — Python interface to Tcl/Tk; CPython, tkinter documentation (source). PSF-2.0 (https://docs.python.org/3/license.html). Copyright Python Software Foundation. Text was condensed and changed from the originals.
License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: Python Software Foundation, tkinter — Python interface to Tcl/Tk; CPython, tkinter documentation (source). PSF-2.0 (https://docs.python.org/3/license.html). Copyright Python Software Foundation.
Cite this
iinventedlight. 2026. "Python tkinter: the standard interface to Tcl/Tk." iinventedlight Library, iil:note:d4q63frm, version of 2026-11-25. https://iinventedlight.com/library/notes/python-tkinter/. License: CC-BY-4.0.
@misc{iil_note_d4q63frm,
author = {{iinventedlight}},
title = {{Python tkinter: the standard interface to Tcl/Tk}},
howpublished = {iinventedlight Library},
year = {2026},
date = {2026-11-25},
url = {https://iinventedlight.com/library/notes/python-tkinter/},
note = {Permanent ID iil:note:d4q63frm. License: CC-BY-4.0.},
}
Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).
Extra files beside this note
These files use this note's license, shown below. Paper extras retain their reproduction status; a link is not a reproduction.
- python-tkinter.schema.json (schema; CC-BY-4.0)
- python-tkinter.table.json (table; CC-BY-4.0)
For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/python-tkinter.md.