Let's talk about the GUI Selection in python and the pythonGUI selection.

Source: Internet
Author: User
Tags wxwidgets qt designer

Let's talk about the GUI Selection in python and the pythonGUI selection.

Although the content may be somewhat old, it does not matter. For those who want to go deep into Python development, there are still some references for choosing the GUI development kit and even visual IDE.

The biggest feature of Python is its 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, and is also well ported on 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.

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.