I'm trying to import an image in a folder in my desktop however I have no clue of how to do it, I find it really difficult to understand the documentations as a beginner.
I already know how to download the file but I don't how I can download it in a certain location.
here is what I have
def download_img(url):
name = random.randrange(1, 100)
full_name = str(name) + ".png"
urllib.request.urlretrieve(url, full_name)
download_img('http://www.mtv.com/crop-images/2013/11/05/the_killers_elle_exclusive_williams_hirakawa.jpg')
how can I download the image in my Desktop, where should I specify the path?