Python's
GUI
Framework
Tkinter
Python
Built-in gui
environment, using TCL
implementations python IDLE
, Tkinter
implemented by
- Has a long history, the
perl
corresponding perlTk
. Python
included in the standard installation package Tkinter
, easy to learn and easy to use, easy to create GUI
.
- Cross-platform
- Layout by code implementation, 15 kinds of common parts, the effect is simple
Wxpython
- Cross-platform,
C++
written by
Python
Extension modules that need to be installed before use
- Compliance
LGPL
with agreements, free software, commercial licensing
- Fewer documents, difficult to solve problems
- Code layout controls, not intuitive
Pygtk
Python
Encapsulation of the GTK+ GUI
library
Python
Extension modules that need to be installed before use
Gnome
The application of multiple
GTK
windows
there will be some problems with compatibility
Pyqt
Python
On QT
the packaging, the QT
source code forC++
- Good cross-platform features, local display effect
Pyqt
QT
consistent with the function interface, due to the QT
development of documentation rich, indirect resulting pyqt
development documentation is also rich
- Rich control, multiple functions/methods, drag and drop layouts
- Easy to package into binary files
- GPL agreement, commercial procedures require purchase of commercial licenses
Pyside
Python
Pair QT
of packages
- Expansion module, need to be installed before use
- Good cross-platform features
pyqt
consistent with the API
- Nokia's pro-son
LGPL
Protocol, new software can be private without the need to be free software
Kivy
- Use
python
and cython
write, 100%
open source free
- For multi-touch applications
- Full platform support (,,,,
Linux
Windows
Mac OS X
Android
iOS
, Raspberry Pi
)
- Layout uses specialized language
kivy language
, code layout, GUI
layout environment is not yet mature
- Poor Chinese support
Why use
pyqt
API
With QT
consistency, learning pyqt
, can be equivalent to learning QT
, a lot of
- Rich documentation, no need to hold on to problems for a long time
- Low learning costs
- Rapid development, the
Qt designer
implementation GUI
of drag-and-drop layout, WYSIWYG
- Learning experience easy to migrate to
pyside
, development of commercial applications convenient packaging release software
The GUI framework of Python