Python is a commonly used language in computer languages and you may be familiar with it. And "Working Together" with it. Do you know the solutions of common Python modules in practical application? And which modules are frequently used in Python. If you want to know about it, you can browse the article.
Tkinter ---- default graphical interface of Python.
Tkinter is a Python module with Tk interfaces. The Tkinter Library provides interfaces for Tk APIs, which belong to the GUI tool group of Tcl/Tk. Tcl/Tk is a writing and graphics device developed by John Ousterhout. Tcl (tool command language) is a macro language used to simplify the development of complex programs in shell. Tk Toolkit is developed with Tcl to simplify the design process of user interfaces.
The Tk toolkit consists of many different widgets, such as a button and a scroll bar. With these widgets provided by Tk, we can quickly develop the GUI. Perl, Scheme, and other languages also use the Tk library for GUI development. Tkinter is cross-platform and can be used on various platforms.
Python Imaging Library (PIL)
Python provides powerful graphic processing capabilities and supports a wide range of graphic file formats. This library can convert, print, and display graphic formats. It can also process some graphic effects, such as Zoom-in, zoom-out, and rotation. It is a powerful tool for Python users to perform image processing.
- Introduction to Python strings and escape sequences
- Three steps to install Python on a 64-bit Aix System
- Introduction to simple processing tools in Python package management
- The format of the inline document in the Python Docutils Module
- Python Docutils sample code
Pmw (Python megawidgets)
Python super GUI component set-an advanced GUI component built using the Tkinter module in python. Each Pmw combines one or more Tkinter components to implement more useful and complex functions.
PyXML
A toolkit for parsing and processing XML documents using Python. The 4DOM in the package is fully compatible with W3C DOM specifications. Xmlproc: a compliant XML parser. Expat: a fast, non-verified XML parser. There are other similar PyHtml PySGML, which is related to PyXML in common python modules.
PyGame
A module used for multimedia development and game software development.
PyOpenGL
It encapsulates the "OpenGL Application Programming Interface". Through this module, python programmers can integrate 2D and 3D graphics in the program.
NumPy, NumArray, and SAGE
NumArray is an extension library of Python. It is mainly used to process fixed arrays of any dimension. In short, it is a matrix library. Its low-level code is written in C, so the speed advantage is obvious. NumPy is the successor of Numarray, used to replace NumArray. SAGE is a mathematical software package based on NumPy and several other tools. It aims to replace Magma, Maple, Mathematica and Matlab.
MySQLdb Module
Used to connect to the MySQL database. The ZMySQLDA module for zope can be used to connect to the mysql database in zope.
PyGTK
GTK + Library for python GUI program development. GTK is the library used to implement GIMP and Gnome. With it, you can confidently try making Photoshop by yourself. This is an introduction to the practical application of PyGTK in common Python modules.