Python

How To Create A Folder With Python

This article will show you some examples of how to use the python os.path module exists function to check file/folder existence. And how to create directory and subdirectory with python os module mkdir and makedirs function.

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.