3 ms·
The author, while having a passing familiarity with it obviously, is clearly not a Python expert, so take all the Python stuff with a major grain of salt. Like
by bragr 3y ago
The author, while having a passing familiarity with it obviously, is clearly not a Python expert, so take all the Python stuff with a major grain of salt. Like they claim not to know how to get granular exceptions out of the requests modules:
>The requests here is a third-party package that required installation and a virtual environment to use. I don't know how to catch more granular exceptions in this example.
so I guess they even didn't RTFM:
https://requests.readthedocs.io/en/latest/api/#exceptions https://requests.readthedocs.io/en/latest/api/#exceptions