Python Standard library

Source: Internet
Author: User

The Ython has a strong standard library. The core of the Python language contains only the common types and functions of numbers, strings, lists, dictionaries, files, and the Python standard library provides additional functions such as system management, network communication, text processing, database interfaces, graphics systems, XML processing, and so on. The Python standard library has a clear naming interface, good documentation, and is easy to learn and use.

The Python community provides a number of third-party modules that are used in a way similar to standard libraries. Their functions are all-encompassing, covering scientific computing, web development, database interfaces, graphics systems in many areas, and mostly mature and stable. Third-party modules can be written in Python or C language. Swig,sip is often used to convert a library written in C into a Python module. The Boost C + + libraries contains a set of libraries that are boost.python so that programs written in Python or C + + can invoke each other. With a large number of tools based on the standard library, the ability to use low-level languages such as C and C++,python, which can be used as other library interfaces, has become a powerful glue language applied to other languages and tools.

The main features of the Python standard library are:

Text processing, including text formatting, regular expression matching, text difference calculation and merging, Unicode support, binary data processing and other functions

File processing, including file operations, creating temporary files, file compression and archiving, operation profiles and other functions

Operating system features, including thread and process support, IO multiplexing, date and time processing, call system functions, write journaling (logging) and other functions

network communication, including network sockets, SSL encrypted communication, asynchronous network communication and other functions

Network protocols, support various network protocols such as HTTP,FTP,SMTP,POP,IMAP,NNTP,XMLRPC, and provide a framework for writing Web servers

Support for the Html,sgml,xml format, including the processing of the.

Other functions, including internationalization support, math, HASH, tkinter, etc.


Python Standard library

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.