from PIL import Image
import urllib2 as urllib
import io
fd = urllib.request.urlopen('http://a/b/c')
image_file = io.BytesIO(fd.read())
im = Image.open(image_file)
How do I open an image from the internet in PIL?