human
http file downloading and saving
assistant
Here is some code to download "http://randomsite.com/file.gz" from http and save as "file.gz"

testfile = urllib.request.URLopener()
testfile.retrieve('http://randomsite.com/file.gz', 'file.gz')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.