Hacker News new | ask | show | jobs
by jfrunyon 1657 days ago
... why would I use that when I could use https://docs.python.org/3/library/urllib.request.html ?
1 comments

Requests 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.