In Python , If I am using "wget" to download a file using os.system("wget ), it shows on the screen like:
 Resolving...
 Connecting to ...
 HTTP request sent, awaiting response...
 100%[====================================================================================================================================================================>] 19,535,176  8.10M/s   in 2.3s 
etc on the screen.
What can I do to save this output in some file rather than showing it on the screen ?
Currently I am running the command as follows:
theurl = "< file location >"
downloadCmd = "wget "+theurl
os.system(downloadCmd)
 
     
     
     
    