python3 download an image from an url code example Example: download image from url python 3 import urllib.request urllib.request.urlretrieve(url, filename)