Learn Requests
The simple, synchronous HTTP client most Python code uses
Requests is the de facto standard HTTP library for Python: a small, readable API for sending GET, POST and other requests, handling JSON, headers, cookies, authentication and file uploads. It sits on top of urllib3, which provides connection pooling and retries. Learning it lets you call web APIs, download files and script any HTTP service from Python.
Before you start
How deep do you want to go?
1. EssentialsRead and write simple code, do the everyday basics
2. PracticalUse it productively at work, with the usual idioms
3. AdvancedThe less common features, performance and trade-offs
4. ExpertInternals and the edge cases experts know