24.1. Tkinter — Python interface to Tcl/Tk — Python v2.7.2 documentation 24.1. Tkinter — Python interface to Tcl/Tk — Python v2.7.2 documentation

24.1. Tkinter — Python interface to Tcl/Tk — Python v2.7.2 documentation

Tkinter — Python interface to Tcl/Tk¶ The Tkinter module (“Tk interface”) is the standard Python interface to the Tk GUI toolkit. Both Tk and Tkinter are available on most Unix platforms, as well as on Windows systems. (Tk itself is not part of Python; it is maintained at ActiveState.) Note Tkinter has been renamed to tkinter in Python 3.0. The 2to3 tool will automatically adapt imports when converting your sources to 3.0.
原文地址:https://www.cnblogs.com/lexus/p/2428551.html