Python's
GUIFramework
Tkinter
PythonBuilt-in gui environment, using TCL implementations python IDLE , Tkinter implemented by
- Has a long history, the
perl corresponding perlTk . Pythonincluded 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
PythonExtension 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
PythonEncapsulation of the GTK+ GUI library
PythonExtension modules that need to be installed before use
GnomeThe application of multiple
GTKwindowsthere will be some problems with compatibility
Pyqt
PythonOn QT the packaging, the QT source code forC++
- Good cross-platform features, local display effect
PyqtQTconsistent 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
PythonPair QT of packages
- Expansion module, need to be installed before use
- Good cross-platform features
pyqtconsistent with the API
- Nokia's pro-son
LGPLProtocol, 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
APIWith 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