how to download file from python

import wget

url = "https://www.python.org/static/img/python-logo@2x.png"

wget.download(url, 'c:/users/LikeGeeks/downloads/pythonLogo.png')

Here is what the above code is Doing:
1. We are downloading the image from the given URL.
2. We are storing the image in the downloads folder of the current user.
3. We are renaming the image to pythonLogo.png.