GUI of Py: Introduction to various GUIs under Python, comparison of advantages and disadvantages - Jason niu

Introduction to various GUIs under Python, comparison of advantages and disadvantages

GUI programming comparison

Profile Features

Advantages and disadvantages

PyQt 

Python  's packaging of the cross-platform  GUI  toolset  Qt  implements  440  classes and  6000  functions or methods . PyQt  is implemented as a  Python  plugin.   

A popular alternative to  Tkinter  , with very powerful functions, can use Qt to develop a beautiful interface, and also can use PyQt to develop a beautiful interface. Cross-platform support is good, but there seem to be some issues with commercial licensing. 

Tkinter

The Tk GUI toolset bound to Python is the Tcl code wrapped in Python , which is implemented by the Tcl interpreter embedded in the Python interpreter. The calls of Tkinter are converted into Tcl commands, and then handed over to the Tcl interpreter for interpretation to implement Python . GUI interface .

Contrast Tk with other language bindings, such as PerlTk , which are implemented directly by the C library in Tk .

The oldest, Python 's de facto standard GUI , the standard interface in Python using the Tk GUI toolset, has been included in the standard Python Windows installation.

In the installation, the well-known IDLE is a GUI that uses Tkinter to realize the creation of GUI . It is simple to learn and use.

wxPython

Python 's wrapper for the cross-platform GUI toolset wxWidgets ( written in C++ ), implemented as an extension module of Python .

A popular alternative to Tkinter that works well on various platforms.

PyGTK

A series of Python wrappers to the GTK+ GUI library.

A popular alternative to Tkinter , the GUIs of many famous applications under Gnome are implemented using PyGTK , such as BitTorrent , GIMP and Gedit have optional implementations, it seems not to perform well on the Windows platform, this is also It is understandable, after all, the GUI library of GTK is used.

PySide

Another  Python  wrapper for the cross-platform  GUI  toolset  Qt  , bundled in  Python  , initially implemented by the  BoostC++  library and later migrated to  Shiboken .

A more popular alternative to  Tkinter  , similar to the above, as for the difference between the two, here is an introduction.  

 

Introduction to PyQt   : http://en.wikipedia.org/wiki/PyQt

Introduction to Tkinter   : http://en.wikipedia.org/wiki/Tkinter

Introduction to wxPython   : http://en.wikipedia.org/wiki/WxPython

Introduction to PyGTK   : http://en.wikipedia.org/wiki/PyGTK

Introduction to PySide   : http://en.wikipedia.org/wiki/PySide

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324442371&siteId=291194637