Python GUI Programming comparison of various implementations

Source: Internet
Author: User
Tags gtk tcl code

Python GUI Programming comparison of various implementations

FromPythonThe birth of the language, there are many excellentGuiToolset is integrated intopython gui toolset, making Python python Many applications are python combining those excellent gui tool set. The following respectively describes python GUI programming of the various implementations, the following is a lot of content from Wikipedia (the article is listed in the reference), here is a no technical color integration bar.


1.Tkinter


Brief introduction:

is binding The pythontk gui toolset python inside of the interpreter tcl interpreter implementation, Tkinter

call Convert to tcl command And then handed over to tcl Interpreter to implement python gui< Span style= "font-family: Song Body;" lang= "ZH-CN" > interface.

The comparison of the bindings between TK and other languages, such as PERLTK, is directly implemented by the C library in TK .


Advantages:


history most Long, python de facto standard Gui, Python use tk gui The standard interface of the Toolset, already included in the standard python Windows ann

Installed, the famous IDLE is to use Tkinter to realize the GUI creation GUI Simple, learn and use is simple.


2.wxPython


Brief introduction:


Python's wrapper over the cross-platform GUI toolset wxWidgets(C + + ) is implemented as an extension module for Python.


Advantages:


A more popular alternative to a Tkinter, in a variety of platforms are very good performance.


3.PyGTK


Brief introduction:


A series of Python wrappers for the GTK + GUI Library.


Advantages:


comparison flow Line of a tkinter alternatives, many Gnome under the famous application of guipygtk implemented, such as Span style= "font-family: ' Lucida Console ';" lang= "en-US" >bittorrent,< Span style= "font-family: ' Lucida Console ';" lang= "en-US" >gimp

and Gedit have an optional implementation, in the Windows platform does not seem to be very good, this is understandable, after all, using the GTK GUI Library.


4.PyQt


Brief introduction:


pythongui toolset qt packaging implements 4406000 functions or methods ,pyqt python plug-in implementation.


Advantages:


A more popular alternative to a Tkinter, the function is very powerful, you can use QT to develop a beautiful interface, you can use PYQT to develop a beautiful interface.

Cross-platform support is good, but there seems to be some problems with business licensing.


5.PySide


Brief introduction:


Another Python wrapper for the cross-platform GUI toolset , bundled in Python , was originally implemented by the boostc++ Library and later migrated to Shiboken.


Advantages:


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

Resources:

[1] Tkinter 's introduction :http://en.wikipedia.org/wiki/Tkinter

[2]wxpython 's introduction :http://en.wikipedia.org/wiki/WxPython

[3] PyGTK 's introduction :Http://en.wikipedia.org/wiki/PyGTK

[4] PyQt 's introduction :http://en.wikipedia.org/wiki/PyQt

[5] Pyside 's introduction :http://en.wikipedia.org/wiki/PySide

26 Kinds of Pythongui frame: http://www.oschina.net/project/lang/25?tag=178

Python GUI Programming comparison of various implementations

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.