Home

Published

- 1 min read

how to download file from python

img of how to download file from python

The solution for this is noted below

how to download file from python

Solution

   import wget

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

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

Try other methods by searching on the site. That is if this doesn’t work