Python's biggest feature is her fast-developing capabilities. As a glue-based language, Python can penetrate almost every area of our programming process. Here I briefly introduce some of the options for GUI development with Python.
1.Tkinter
Tkinter seems to be a library of interfaces developed at the same time as the TCL language. Tkinter is the standard GUI library for Python and the product of OpenSource. Tkinter can be used for windows/linux/unix/macintosh operating systems, and the display style is localized. Tkinter is very simple to use, and Python's own idle is written using it. In addition to this, Tkinter's expansion set PMW and TIX functions are relatively powerful, but Tkinter is the most basic. I think, in the use of Python to do GUI development, Tkinter is the most basic knowledge, so this link is necessary to learn. You may not use tkinter in future development, but some small applications, he is very useful, and development speed is very fast.
2.WxPython
Wxwidgets should be regarded as a more popular GUI cross-platform development technology in recent years. Wxwidgets has a different version of the app, with C + + and basic, and now has a good porting on python. Wxpython's features are stronger than Tkinter, and she offers more than 200 classes, object-oriented programming styles, and a framework similar to MFC. For large GUI applications, Wxpython still has a strong advantage. The Boa constructor helps us to build the Wxwidgets interface quickly and visually.
3.PyQT
QT is also an open-source GUI library, with a class library of around 300 and more than 5,700 functions in Qt. QT is also suitable for large applications, and its own QT designer allows us to easily build interface elements.
4.pyGtk
GTK is the core development repository for GNOME under Linux. The function above is very complete. It is worth noting that the display style of GTK under the Windows platform is not particularly localized. But the Glade interface designer he brought with you can still save you a lot of things.
5.Jython
Have you tried using Python to access the Java class Library, then use Jython. Jython can actually be thought of as another Python development environment, based on Java, but most of the CPython invoke Jython is still possible. It's really cool that you can invoke the Java language using Python's syntax in a jython environment like Java.
6.MFC
Windows PYWIN32 allows you to develop Win32 applications using Python in the same way as VC. The code style can resemble the Win32 SDK, or it can be similar to MFC, which you choose. If you still do not give up VC-like code process under Python, then this is a good choice.
7.PythonCard
Pythoncard is actually a re-encapsulation of the wxpython. But the package is simpler, and it feels more intuitive and simpler to use than Wxpython.
8.Dabo
is still a wxpython-based re-encapsulation library, not used, not very understanding. It provides database access, business logic, and user interface.
9.AnyGui
Access to other Toolsets, like Tkinter,wxpython and QT, through the underlying API.
10.WPY
MFC-style GUI development library, code style is similar to MFC, only in this way, you can still use this library to develop GUI applications, without worrying about the problem of platform porting. She is also a cross-platform library.
11.IronPython
If you want to develop applications under. NET, then IronPython is your choice, a bit like Jython, who also supports standard Python modules, but also adds support for. NET libraries. You can also understand that he is another Python development environment. You can make it very easy to use Python syntax for. NET application development, which sounds really interesting.
In short, the introduction of so much, my personal opinion is that if you are a Java user, then you use Jython Bar, in addition to enjoy the Python module function and syntax, you can find a lot of Java shadow; If you are a. NET user, then use Iron python. If you are familiar with Visual C + +, then you can use Mfc,wpy or wxpython, of course I would recommend Wxpython. Of course, I think for tkinter is every person who originally engaged in C should know and learn the GUI library, because she is very light, small applications can use her to handle, and for larger applications can be Pygtk,pyqt,wxpython or pythoncard to do, so Can not only focus on the cohesion of knowledge, but also rapid development of software.