4 ms·
<offtopic> +1 just for mentioning requests (versus urllib). If someone hasn't tried this library yet, they really should. I replaced tons of libcurl / urllib /
by annnnd 12y ago
<offtopic>
+1 just for mentioning requests (versus urllib). If someone hasn't tried this library yet, they really should. I replaced tons of libcurl / urllib / ... blocks with simple and legible oneliners. Incredible API!
EDIT: url for those who don't know the library yet: http://docs.python-requests.org/en/latest/ http://docs.python-requests.org/en/latest/
(I am not affiliated, just really impressed)
</offtopic>