Skip to content

Instantly share code, notes, and snippets.

@Allwin12 Allwin12/show_images.py
Last active Jun 20, 2020

Embed
What would you like to do?
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
You can’t perform that action at this time.