May 2018
Beginner to intermediate
452 pages
11h 26m
English
The requests package is written in pure Python, so installing it with pip requires no compiling or binary downloads. Simply type pip install --user requests in the terminal and it will be added to your system.
Open your Python shell, and let's make some requests as follows:
>>> import requests
>>> response = requests.request('GET', 'http://www.alandmoore.com')
In addition to the request() function, requests has shortcut functions that correspond ...