Last active
June 20, 2020 08:09
-
-
Save Allwin12/fa59f1afdbc2917f607849f1a6f48c77 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from PIL import Image | |
import requests | |
from io import BytesIO | |
url = 'https://miro.medium.com/max/1400/1*X40IVMQsIgSjWsGAxJG7Zw.jpeg' | |
response = requests.get(url) | |
img = Image.open(BytesIO(response.content)) | |
img.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment