Код: Выделить всё
try:
r = requests.get(url, params={'s': thing})
except requests.ConnectionError, e:
print(e)
Подробнее здесь: https://stackoverflow.com/questions/165 ... sts-module
Код: Выделить всё
try:
r = requests.get(url, params={'s': thing})
except requests.ConnectionError, e:
print(e)