SyntaxFix
Write A Post
Hire A Developer
Questions
As mentioned here:
import urllib urllib.urlretrieve ("http://randomsite.com/file.gz", "file.gz")
EDIT: If you still want to use requests, take a look at this question or this one.
EDIT: