-2

Which module should be used for downloading? I am trying to create downloader with python but can't do it. I am a beginner.

Link="http://file.download.url"
download(link)
curveball
  • 3,873
  • 13
  • 33
  • 40
Amdhahs
  • 1
  • 1
  • 2
    And when you download, then what? Put it in a string? Save it to disk? Dump it to a HTTP response? (Also, note that Python is case-sensitive; `link` and `Link` are two different things.) – Amadan Oct 17 '18 at 07:12

1 Answers1

-2

Use requests module

import requests 
r=requests.get(Link).content
Yashik
  • 260
  • 3
  • 14