Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

... why would I use that when I could use https://docs.python.org/3/library/urllib.request.html ?


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: