What ' s tkinter?What is Tkinter.
The tkinter module ("Tk interface") is the standard Python interface to the TK GUI Toolkit from Scriptics (former Ly developed by Sun Labs).
The Tkinter module is the standard Python interface for the Tk GUI suite.
Both Tk and Tkinter are available on most Unix platforms, as as is on Windows and Macintosh systems. Starting with the 8.0 release, Tk offers native look and feel on all platforms.
TK and Tkinter are available on most UNIX platforms, Windows platforms, and Macintosh systems, starting with version 8.0, where TK provides native interface appearance on all platforms.
Tkinter consists of a number of modules. The Tk interface is provided by a binary extension module named _tkinter. This module contains the low-level interface to Tk, and should never is used directly by application. It is usually a shared library (or DLL) and but might in some cases to statically with the Python linked.
The tkinter contains a large number of modules. The TK interface is provided by a binary extension module called _tkinter. This module contains the underlying interface of TK, but these interfaces cannot be used directly by the application. It is usually a shared library (or dynamic link library), and in some cases can be used as a static link by the Python interpreter.
The public interface is provided through a number of Python modules. The most important interface module is the tkinter module itself. To use Tkinter, all your need to be to import the tkinter module:
The common interface is provided through a series of Python modules, and the most important interface is the Tkinter module itself. To use Tkinter, the need is to import the Tkinter module:
Import Tkinter
Or, more often:
Or:
From Tkinter Import *
The Tkinter module only exports widgets classes and associated constants, so you can safely use the from-in Form I n Most cases. If you are not prefer, but still want to save some typing, can use import-as:
In most cases, the Tkinter module can be used securely using the from-in format, because the Tkinter module only imports component classes and related constants. If you don't want to do this but want to knock down a few more characters, you can use Import-as:
Import Tkinter as Tk