In the Python language library, it is divided into Python standard library and Python third-party library. Python's standard library is the library that comes with Python by default when it is installed. Python's third-party libraries need to be downloaded and installed in the Python installation directory. Different third-party libraries have different installation and usage methods. They are called in the same way, and they all need to be called with the import statement.
For example, call the requests library. The requests library is not the standard library of Python. You need to call it before using it again. Enter import request
The following are some introductions A commonly used third-party library in Python
1. Scapy. A packet detection and analysis library written in Python
2. pywin32. A Python library that provides methods and classes for interacting with windows
3. BeautifulSoup. I know it is slow, but this xml and html parsing library is very useful for novices
4. SymPy.SymPy can do algebraic evaluation, differentiation, expansion, and complex numbers etc. It is packaged in a pure Python distribution.
5. IPython takes Python’s prompt information to the extreme. Including completion information, historical information, shell functions, and many other aspects
6. Scrapy. If you are engaged in crawler-related work, then this library is also essential. After using it, you will never want to use other similar libraries
Related learning recommendations: python tutorial
The above is the detailed content of What is a python third-party library?. For more information, please follow other related articles on the PHP Chinese website!