As a Python developer, sooner or later you will use graphical user interfaces to develop applications. This article will recommend some Python GUI frameworks, hoping to be helpful to you.
Python’s UI development kit Kivy (recommended learning: Python video tutorial)
Kivy is an open source toolkit that enables programs created with the same source code to run across platforms. It focuses on innovative user interface development, such as multi-touch applications. Kivy also provides a multi-touch mouse emulator. Currently supported platforms include: Linux, Windows, Mac OS X and Android.
Kivy has functions that can handle animation, caching, gestures, drawing, etc. It also has many built-in user interface controls such as buttons, cameras, tables, Sliders, and tree controls.
Python's GUI development tool Flexx
Flexx is a pure Python toolkit for creating graphical interface applications. It uses web technology for interface rendering. You can use Flexx to create desktop applications, and you can also export an application to a standalone HTML document. Because it is developed in pure Python, Flexx is cross-platform. All you need is Python and a browser to run. If you are running in desktop mode, it is recommended to use Firefox.
Python bindings for the Qt library PyQt
PyQt is the Python version of the Qt library. PyQt3 supports Qt1 to Qt3. PyQt4 supports Qt4. It was first released in 1998, but it was called PyKDE at the time because SIP and PyQt were not separated at the beginning. PyQt is written in SIP. PyQt is available in GPL and commercial versions.
Python graphics development kit wxPython
wxPython is an excellent set of GUI graphics libraries for the Python language, allowing Python programmers to easily create complete, fully functional keys. The GUI user interface. wxPython is provided to users as a Python package and Python module of the excellent cross-platform GUI library wxWidgets.
Just like Python and wxWidgets, wxPython is also an open source software and has excellent cross-platform capabilities. It can run on 32-bit windows, most Unix or Unix-like systems, and Macintosh OS X .
Tk graphical user interface Tkinter
Tkinter (also called Tk interface) is the standard Python interface of the Tk graphical user interface toolkit. Tk is a lightweight cross-platform graphical user interface (GUI) development tool. Tk and Tkinter can run on most Unix platforms, Windows, and Macintosh systems.
Tkinter consists of a certain number of modules. Tkinter resides in a binary module called _tkinter (earlier versions were called tkinter). Tkinter contains a low-level interface module to Tk. The low-level interface is not directly used by application-level programmers. It is usually a shared library (or DLL), but in some cases it is also statically linked by the Python interpreter.
Pywin32
Windows Pywin32 allows you to develop win32 applications using PYTHON in the same form as VC. The coding style can be similar to win32 SDK or MFC, the choice is yours. If you still don't give up on the same code process as vc in python, then this is a good choice.
Python graphical interface development kit PyGTK
PyGTK allows you to easily create programs with graphical user interfaces in Python. The underlying GTK provides a variety of visual elements and Function, if necessary, you can develop fully functional software that runs on the GNOME desktop system.
PyGTK is truly cross-platform. It can stably run on various operating systems without modification, such as Linux , Windows, MacOS, etc. In addition to easy-to-use and rapid prototype development capabilities, PyGTK also has first-class unique functions for processing localized languages.
Use python to quickly develop gorgeous desktop programs pyui4win
pyui4win is an open source interface library using self-drawing technology. Supports C and python. With it, you can easily realize gorgeous interfaces such as QQ and 360 Security Guard. Moreover, pyui4win has a WYSIWYG interface designer, which allows C developers and python developers to directly use
design tools to design the interface without caring about how the interface is generated and run, which can significantly shorten the interface development time. In pyui4win, the interface can even be completely handed over to artists, and developers can only be responsible for processing business logic, completely freeing developers from complicated interface processing.
For more Python related technical articles, please visit the Python Tutorial column to learn!
The above is the detailed content of What to use for python graphical interface development. For more information, please follow other related articles on the PHP Chinese website!