Python

How To Sort Lists In Python

Python provides two sorting methods for a list object, one is to use the built-in function sort of the list object, the other is to use the sorted function to sort. The difference between the two sort methods is that the sorted function does not change the original list and returns a sorted list.

How To Install aiohttp In Python

In Python crawlers, if you want to require concurrent HTTP requests, you typically use the python requests module. But the python requests module are synchronous libraries, if you want to send asynchronous requests you need to install the python aiohttp library.