Python standard library: 1. Introduced

Source: Internet
Author: User

The standard library contains several different types of libraries.

The first is the data type library for those core languages, such as numbers and list-related libraries. The core language manual simply describes how numbers and lists are written, and how they are arranged, without defining its semantics. In other words, the core language manual simply defines syntax and precedence, and does not define operations on these types of functionality.

Second, the standard library contains built-in functions and exception handling objects that are not explicitly imported using the import statement When using these objects . Some of these are core language needs, but many are not required by the core language, also described here.

Finally in the standard library a large number of libraries are such a number of functional modules, can be categorized in many ways. For example, according to whether the built-in classification, some use C language built into the parser, and some provide the source code through the import statement to make calls; there are modules that provide interfaces to view Python 's running process, such as a print-run stack, some of the hardware that provides interfaces to the operating system, such as access to the system, and others that are used in specific applications, such as the Internet; some modules can be used in Python all versions and porting, but some are supported only on some system; Python can only be used when compiling or installing.

The standard library is organized in a way from the inside out, meaning to introduce the built-in data types, built-in functions and exceptions, and finally introduce the relevant modules that implement some functions outside. The order of arrangement in each chapter is sorted from the most important to the unimportant.

When you feel that something is bothering you, you can skip a few chapters and you just need to understand its general meaning and application areas. Therefore, you do not need to read a novel, as a whole, because it is relatively independent of each chapter, and not too much relevance. For example, you can browse the directory of the standard library, choose your own favorite content to read, or like the function to see, or just look at one or two small pieces of content is also possible. You can even randomly extract the content, rather than in the order of arrangement, for example, you choose the random Library to look at. No matter what you want to read the standard library manual, but there is a bar to note that the built-in function is the part of the first reading it, because the rest of the following chapters are based on it to introduce. If you do not learn this basic knowledge, the understanding of the latter will bring greater difficulties and confusion.

So let's start right here! Come on!

#开发人员: Cai Junsheng (qq:9073204) Shenzhen  2014-10-26

Python standard library: 1. Introduced

Related Article

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.