python get requests status code code example
Example: python print return code of requests
>>> import requests
>>> r = requests.get('http://httpbin.org/status/404')
>>> r.status_code
404
>>> import requests
>>> r = requests.get('http://httpbin.org/status/404')
>>> r.status_code
404