Código de solicitud de retorno de impresión de Python
>>> import requests
>>> r = requests.get('http://httpbin.org/status/404')
>>> r.status_code
404
Yucky Yak
>>> import requests
>>> r = requests.get('http://httpbin.org/status/404')
>>> r.status_code
404