How to read an image data from a URL in Python Use urllib.request.urlretrieve() and PIL.Image.open() Use requests.get() and PIL.Image.open()