1 Tkinter
Tkinter is Python's standard GUI library. Python uses Tkinter to quickly create GUI applications. Lightweight cross-platform graphical user interface (GUI) development tool.
Since Tkinter is built into the python installation package , the Tkinter library can be imported after Python is installed, and IDLE is also written in Tkinter, so Tkinter can handle the simple graphical interface with ease.
control |
describe |
Button |
Button control; displays a button in a program. |
Canvas |
Canvas control; displays graphical elements such as lines or text |
Checkbutton |
Multiple selection box control; used to provide multiple selection boxes in the program |
Entry |
Input controls; used to display simple text content |
Frame |
Frame control; display a rectangular area on the screen, mostly used as a container |
Label |
Label control; can display text and bitmaps |
Listbox |
Listbox control; the Listbox widget is used to display a list of strings to the user |
Menu button |
A menu button control, used to display menu items. |
Menu |
Menu control; display menu bar, drop-down menu and pop-up menu |
Message |
Message control; used to display multi-line text, similar to label |
Radiobutton |
Radio button control; displays the state of a radio button |
Scale |
Range control; displays a numeric scale that limits the range of numeric intervals for output |
Scrollbar |
A scroll bar control, used when the content exceeds the visible area, such as a list box. . |
Text |
Text control; used to display multiple lines of text |
Toplevel |
Container control; used to provide a separate dialog box, similar to Frame |
Spinbox |
Input control; similar to Entry, but you can specify the input range value |
PanedWindow |
PanedWindow is a plug-in for window layout management, which can contain one or more sub-controls. |
LabelFrame |
labelframe is a simple container control. Common and complex window layouts. |
tkMessageBox |
Used to display message boxes for your application. |
2 PyQt
PyQt is a toolkit for creating GUI applications. It is a successful fusion of the Python programming language and the Qt library.
Qt is an application library for developing graphical interfaces in C++ language. It is a cross-platform library developed by Qt Company in 1991.
PyQt is rich in content, powerful in function, and has many online resources , but it is difficult to get started.
3 Desperate
Kivy is an open source Python library for rapid development of applications that utilize innovative user interfaces, such as multi-touch applications.
Kivy is written in Python and Cython, based on OpenGL ES 2, supports various input devices and has an extensive widget library. Using the same codebase, you can target Windows, macOS, Linux, Android, and iOS. All Kivy widgets support multi-touch.
The Kivy package is large because the Python interpreter is built-in.
Kivy was originally developed to work on Raspberry Pi and other low-power and embedded devices.
Its biggest advantage is that it can run not only on desktop platforms, but also on mobile devices, including Android, iOS, and even Raspberry Pi.
4 PySide
PySide is an alternative to PyQt that provides Python bindings for the Qt framework. It is similar to PyQt in terms of functionality, but has a more permissive license , which makes it a more attractive choice for some developers.
5 wxPython
wxPython is provided to users as a Python package and Python module of the excellent cross-platform GUI library wxWidgets .
wxWidgets is an open source cross-platform C++ framework library (framework), which can provide GUI (graphical user interface) and other tools. Version 2.x supports all versions of Windows, Unix with GTK+ or Motif, and MacOS.
6 PyGTK
PyGTK allows you to easily create programs with a graphical user interface in Python. The underlying GTK+ provides various visual elements and functions.
GTK+, developed in C language, has a cross-platform GUI library. It is a development toolbox for the GNOME desktop system (if you are using Linux, you must be familiar) and the GIMP image editor.