My code:
r = requests.get('http://www.pythonchallenge.com/pc/def/banner.p')
t = urlopen('http://www.pythonchallenge.com/pc/def/banner.p')
print(r)
'Response [200]'
print(t)
'http.client.HTTPResponse object at 0x0430A370'
Why does requests.get only return the object instance (in this case the respond code) while urlopen returns the actual object?
My question then would be: how can I use requests to return an object instead of the response code? (I want to desearialize the content using pickle)