The built-in module
Python has a very useful standard library. The standard library will be installed on your computer along with the Python interpreter. It is
an integral part of Python . These standard libraries are tools that Python prepares for you, which can make programming more effective.
Commonly used standard library
Standard library | Description |
---|---|
builtins | Built-in functions are loaded by default |
YOU | Operating system interface |
sys | Python's own operating environment |
functools | Commonly used tools |
json | Encode and decode JSON objects |
logging | Logging, debugging |
multiprocessing | multi-Progress |
threading | Multithreading |
copy | copy |
time | time |
datetime | Date and time |
calendar | calendar |
hashlib | Encryption Algorithm |
random | Generate random numbers |
re | Regular string matching |
socket | Standard BSD Sockets API |
globe | File wildcard search |
Commonly used extension libraries
Extension library | Description |
---|---|
requests | Urllib3 is used, which inherits all the features of urllib2 |
urllib | Http-based high-level library |
scrapy | reptile |
beautifulsoup4 | HTML/XML parser |
celery | Distributed task scheduling module |
repeat | Cache |
Pillow(PIL) | Image Processing |
matplotlib | Drawing |
numpy/scipy | Scientific Computing |
django/tornado/flask | web framework |
vented | Python network library based on coroutine |