3 ms·
... why would I use that when I could use https://docs.python.org/3/library/urllib.request.html https://docs.python.org/3/library/urllib.request.html ?
by jfrunyon 5y ago
... why would I use that when I could use https://docs.python.org/3/library/urllib.request.html https://docs.python.org/3/library/urllib.request.html ?
- jogu 5y agoRequests generally provides a simpler interface and absorbs some of the complexities if you were trying to use the stdlib directly e.g. pooling, redirects, retries, proxies, etc. It also smooths over some of the differences in the stdlib across Python versions, though that's less of an issue as of late as older versions are being deprecated.