Downloading Files With Python's Requests Module
http://docs.python-requests.org/en/latest/user/quickstart/#binary-response-content
From the example:
>>> from PIL import Image
>>> from StringIO import StringIO
>>> i = Image.open(StringIO(r.content))
http://docs.python-requests.org/en/latest/user/quickstart/#binary-response-content
From the example:
>>> from PIL import Image
>>> from StringIO import StringIO
>>> i = Image.open(StringIO(r.content))