Requests is a Python HTTP client library, similar to URLLIB,URLLIB2, why should we use requests? Officially, Python's standard library URLLIB2 provides most of the HTTP functionality needed, but the API is too counter-trivial, and a simple function requires a lot of code.
Here are the installation steps for requests:
We are here to install directly with PIP (this is more suitable for beginners), the new Python comes with Pip,python2.7.13:https://www.python.org/ftp/python/2.7.13/python-2.7.13.msi
After we install python2.7.13, go to the installation directory and add C:\Python27\Scripts (the directory I installed is C:\Python27) to the system's environment variable path
Then under CMD CD into this directory C:\Python27\Scripts, then perform PIP install requests
Installation Complete
Then we'll try the import requests to see if the installation was successful.
Installation Successful
Daniel Pass by not spray
Python website crawler artifact requests simple installation (for beginners)