Answers for "how to send a photo in url using python"

8

display url image with python

from PIL import Image
import requests
from io import BytesIO

response = requests.get(url)
img = Image.open(BytesIO(response.content))
Posted by: Guest on June-02-2020

Code answers related to "how to send a photo in url using python"

Python Answers by Framework

Browse Popular Code Answers by Language