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
It 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 available
In Windows, Linux, UNIX, and Macintosh operating systems, the display style is localized. Tkinter is very simple to use.
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 for GUI development. Therefore, this step must be learned. You may not often use tkinter in future development, but in some small applications
Is very useful, 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 better
Tkinter, she provides over 200 classes, object-oriented programming style, and the design framework is similar to MFC. Wxpython has strong advantages in large GUI applications.
. 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 of can still be called in 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 applications under. net, ironpython is your choice. Similar to Jython, ironpython also supports standard Python modules, but it also adds
Support for. Net libraries. You can also understand that it is another python development environment. You can use the python syntax to develop. Net Applications very conveniently.
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. If you are a. Net user, use Iron python. If you
C ++ is familiar with it, so you can use MFC, WPY or wxpython. Of course, I recommend wxpython. Of course, I think that for tkinter
People should understand and learn the GUI library, because she is very lightweight, small applications can use her to handle, and for larger applications can use pygtk, pyqt, wxpython or
Pythoncard to solve the problem. In this way, you can both pay attention to the knowledge and quickly develop the software.