Python standard library and third-party library-Python tutorial

Source: Internet
Author: User
Tags xml parser
This article mainly introduces the Python standard library and third-party library. For more information, see the following section to describe the Python standard library and third-party library, for your reference:

Tkinter ---- default graphical interface of Python.
Tkinter is a module for the Tk interface. the Tkinter Library provides interfaces for the Tk API, which belongs 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 launch a 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)-It 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 user image processing.

Pmw (Python megawidgets) is a super GUI component set-an advanced GUI component built using the Tkinter module. each Pmw combines one or more Tkinter components, to achieve 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. It contains the following content:
Xmlproc: a compliant XML parser.

Expat: a fast, non-verified XML parser. There are other
At the same level as him, there is also PyHtml PySGML.

PyGame-a module used for multimedia development and game software development.

PyOpenGL-the module encapsulates the "OpenGL application programming interface", through which 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 used for GUI program development. GTK is the library used to implement GIMP and Gnome. With it, you can confidently try making your own Photoshop.

PyQt ---- used for the Qt Development Library. QT is the database that implements the KDE environment. it consists of a series of modules, including qt, qtcanvas, qtgl, qtnetwork, qtsql, qttable, qtui and qtxml, contains 300 classes and more than 5750 functions and methods. PyQt also supports a module called qtext, which contains a QScintilla Library. This library is the Qt interface of the Scintillar editor class.

PyMedia-python module for multimedia operations. It provides rich and simple interfaces for multimedia processing (wav, mp3, ogg, avi, px, dvd, cdda etc ). It can be used on Windows and Linux platforms.

Psyco-a code accelerator that increases code execution speed to the same level as the compilation language.

Python-ldap-provides a set of object-oriented APIs to conveniently access the ldap directory service in python, which is based on OpenLDAP2.x.

Smtplib module-send an email.

Ftplib module ---- defines FTP classes and some methods for ftp programming on the client. We can use python to compile an ftp client program for downloading files or image sites. For more information about the ftp protocol, see RFC959.

The xmpppy module-the Jabber server adopts the developed XMPP protocol, and Google Talk is also an IM system using the XMPP protocol. There is an xmpppy module that supports this protocol. That is to say, we can use this module to communicate with the Jabber server. is it Cool.

The following is not detailed. only names and functions are listed.

Adodb ---- ADO database connection component
Bsddb3 ---- BerkeleyDB connection component
Charset ---- encoding detection
Scons ---- the project construction tool. it is very convenient to use the template after it is written.
Sendpkt ---- a development kit
Setuptools-a python package management mechanism
Cheetah-build and expand any types of text-based content
Pycurl ---- URL processing tool
Pydot ---- graph, graphiz
Pyevent-event support
Pylint ---- cultivate good coding habits
Pylons ---- another web framework
Pypcap ---- packet capture
Pysqlite2-connection component of SQLite
Python-dnet-other devices that control network security
Pythonwin ---- Windows extension
Pywmi ---- saves a lot of effort
Reportlab ---- Libary for Python operations PDF.
Scapy-network package build analysis framework, programmable wireshark, interested google "Silver Needle in the Skype"
Simplejson ---- JSON support
Sqlalchemy ---- sqldatabase connection pool
SQLObject ---- database connection pool
Cherrypy ---- a WEB framework
Ctypes ---- used to call the dynamic link library
Cx-oracle ---- tools for connecting to oracle
DBUtils ---- database connection pool
Django ---- a WEB framework
DPKT ---- raw-scoket network programming
Docutils ---- used to write documents
Dpkt ---- packet unpacket and group package
Feedparser ---- rss analysis
Kodos ---- regular expression debugging tool
Machize ---- commonly used Web crawlers
Pefile ---- windows pe file parser
Py2exe ---- used to generate windows executable files
Twisted ---- network programming framework of the Big Mac
Winpdb ---- it's up to you when your program or other libraries are hard to understand.
WxPython-GUI programming framework. people familiar with MFC will like it very much. It is simply the same architecture (for beginners or users who do not have high design requirements, you can use Boa Constructor to quickly develop wxPython)
PIL ---- Image Processing database, which can open dozens of image formats and provides many image processing functions, such as enhancement and filtering algorithms.
Pyro ---- implement technologies similar to JAVA RMI
PLY ---- language tools based on LEX and YACC
Corepy ---- use development to compile x86 assembler
LightCloud ---- distributed key-value database
Parallel Python (PP)-a library for easily developing SMP and cluster Parallel computing

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.