Python is a scripting language. It is known as the glue language. It also has its own standard library. This is why someone asked what the Python standard library is.
For example, just like the daily necessities you usually use, you can’t always make and produce them all yourself, you have to buy them. The standard library is like a supermarket, just go and find what you want.
As long as you want to call it, it is ready. The advantage of this is that if you want to work in the future, you don't need to rewrite those data structures yourself, which is cumbersome and low-tech. In order to solve this problem, the standard library was born.
Python’s standard library is very powerful and provides a very wide range of support. The included built-in modules (written in C language) provide system-level utilities, such as I/O operations on files. Making it easy to use by python programmers. Just like other standardized solutions written in python to solve common problems. Some modules are designed to be very concise to promote and improve the cross-platform portability of python program API.
The Python installed on the Windows platform usually contains the entire standard library, and often includes some additional components. Unix-based operating systems usually provide a series of packages, so you may need to use the system's own package tools to obtain other components.
The above is the detailed content of What is the python standard library. For more information, please follow other related articles on the PHP Chinese website!