1import urllib.request
2
3image_url = 'https://bit.ly/2XuVzB4' #the image on the web
4save_name = 'my_image.jpg' #local name to be saved
5urllib.request.urlretrieve(image_url, save_name)
1import urllib.request
2imgURL = "http://site.meishij.net/r/58/25/3568808/a3568808_142682562777944.jpg"
3
4urllib.request.urlretrieve(imgURL, "D:/abc/image/local-filename.jpg")
5