Selection of GUI development tools in Python

Source: Internet
Author: User
Tags gtk wxwidgets qt designer
The biggest feature of choosing Python as a PythonGUI development tool is her rapid development function. As a glue language, python can penetrate almost every field in our programming process. Here I will briefly introduce some options for gui development using python.

1. Tkinter

Tkinter seems to be an interface library developed along with the tcl language. Tkinter is a standard gui library provided by python and a product of opensource. Tkinter can be used in windows, linux, unix, and macintosh operating systems, and the display style is localized. Tkinter is very simple to use, and the built-in python IDLE is written using it. In addition, tkinter's extension set pmw and Tix functions are relatively powerful, but tkinter is the most basic. In my opinion, tkinter is the most basic knowledge when using python for gui development, so this step must be learned. You may not often use tkinter in future development, but it is useful for some small applications and the development speed is also very fast.

2. WxPython

WxWidgets is a popular cross-platform GUI development technology in recent years. WxWidgets has different versions of applications, including c ++ and basic. now, it has better transplantation in python. Wxpython is more powerful than tkinter. she provides over 200 classes, object-oriented programming style, and the design framework is similar to MFC. For large-scale GUI applications, wxPython has strong advantages. Boa constructor can help us quickly and visually build the wxwidgets interface.

3. PyQT

Qt is also an open-source GUI library, with more than 300 Qt class libraries and more than 5700 functions. Qt is also suitable for large applications. its built-in qt designer allows us to easily build interface elements.

4. pyGtk

Gtk is the core development library of Gnome in linux. The functions are complete. It is worth noting that the gtk display style on windows is not particularly localized. However, the glade Interface Designer can save you a lot of trouble.

5. Jython

Have you tried to access the java Class Library using python? use jython. Jython can be considered another python development environment based on java, but most CPython calls jython. In the jython environment, you can use the python syntax to call the java language like java. this is really cool.

6. MFC

Windows Pywin32 allows you to use PYTHON to develop win32 applications in the same way as VC. The code style can be similar to that of win32 sdk, or similar to that of MFC. If you still don't give up the same vc code process in python, this is a good choice.

7. PythonCard

PythonCard is actually a re-encapsulation of wxPython. However, the encapsulation is simpler and easier to use than wxPython.

8. Dabo

It is still a re-encapsulation library based on wxpython, which has never been used and is not familiar with it. It provides database access, business logic, and user interfaces.

9. AnyGui

Access other tool sets through underlying APIs, such as tkinter, wxpython, and qt.

10. WPY

The MFC-style Gui development library and code style are similar to that of MFC. you can still use this library to develop GUI applications without worrying about platform porting. She is also a cross-platform library.

11. IronPython

If you want to develop. for applications under. net, IronPython is your choice. similar to jython, IronPython also supports standard python modules.. net Library. You can also understand that it is another python development environment. You can easily use the python syntax for. net application development, which sounds really interesting.


In short, I have introduced so much. my personal opinion is that if you are a java user, you should use jython. in addition to enjoying the functions and syntax of python modules, you can find many java shadows. net users, so use iron python. If you are familiar with Visual C ++, you can use MFC, WPY, or wxPython. of course, we recommend wxPython. Of course, I think that tkinter is a GUI library that everyone should understand and learn for C, because it is very lightweight and can be used by small applications, for larger applications, you can use pyGtk, pyQt, WxPython, or PythonCard. in this way, you can focus on the knowledge convergence and fast software development.

The above is the details of the selection of GUI development tools in Python. For more information, see other related articles in the first PHP community!

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.