Python standard library: 1. Introduced

Source: Internet
Author: User

The standard library includes several different types of libraries.

The first is the data type library for those core languages, such as numbers and list-related libraries. In the core language manual it is simply a description of how the narrative numbers and lists are written, and how they are arranged, without defining its semantics.

In other words, the core language manual is just the definition of grammar and precedence. Operations on these types of functionality are not defined.

Second, the standard library includes some built-in functions and exception handling objects when using these objects. There is no need to understand importing using import statements. Some of them are core language needs, but very much is not the core language needs, also described here.

Finally, in the standard library, a large number of libraries are these functional modules, can be categorized in many ways. For example, according to whether the classification is built-in, some use the C language built into the parser, and some provide the source code through the import statement to make the call. There are modules that provide an interface to view The execution of Python. For example, a stack for printing execution. Some are provided with the operating system interface, such as access to the hardware of the system; others are used in specific application areas, such as the Internet; some modules can be used in Python for all version numbers and porting, but some are supported only on some system; Python is capable of compiling or installing it.

The standard library is organized in a way from inside to outside, 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.

So. You don't have to read a novel, from the beginning to the end, because each chapter is relatively independent, and it doesn't have a big connection. For example, you can browse the folder of the standard library. Choose the content you like to read, or the functions you like to see. Or just look at one or two small pieces of content is also able to. Even you can randomly extract the content to see. Rather than in the order of arrangement, you choose the random Library to look at it.

No matter what you want to read the standard library manual, but there is a note, is the built-in function of the part of the reading it, because the rest of the following chapters are based on it to introduce. Assuming that you do not learn this basic knowledge, the subsequent understanding will bring greater difficulties and confusion.

So. Let's start here right now! Come on!

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

Python standard library: 1. Introduced

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.