Merge pull request #7674 from nulano/url-example

This commit is contained in:
Hugo van Kemenade 2024-01-01 19:22:33 +02:00 committed by GitHub
commit 40a3f91af2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -542,7 +542,7 @@ Reading from URL
from PIL import Image
from urllib.request import urlopen
url = "https://python-pillow.org/images/pillow-logo.png"
url = "https://python-pillow.org/assets/images/pillow-logo.png"
img = Image.open(urlopen(url))