Most commonly embedded into C applications as a scripting engine or an It can be used on its own as a general-purpose programming language, it is Tcl is a dynamic interpreted programming language, just like Python. Python’s binary releases also ship an add-on module
Modules, each with separate functionality and its own officialĭocumentation. Tcl/Tk is not a single library but rather consists of a few distinct (ISBN 978-0596158101)īy John Ousterhout, inventor of Tcl/Tk, and Ken Jones does not cover Tkinter.
See the source code for the _tkinter moduleįor more information about supported versions. The official Python binary release bundles Tcl/Tk 8.6 Tkinter supports a range of Tcl/Tk versions, built either with or Installed, so you can read the Tcl/Tk documentation specific to that version.
Properly installed on your system, and also showing what version of Tcl/Tk is Running python -m tkinter from the command line should open a windowĭemonstrating a simple Tk interface, letting you know that tkinter is Platforms, including macOS, as well as on Windows systems. Both Tk and tkinter are available on most Unix The tkinter package (“Tk interface”) is the standard Python interface to