I have the following web address:
dls = \"http://www.muellerindustries.com/uploads/pdf/UW SPD0114.xls\"
I tried to download the file:
This would save the excel file in the same folder that the script was ran from.
import urllib dls = "http://www.muellerindustries.com/uploads/pdf/UW SPD0114.xls" urllib.request.urlretrieve(dls, "test.xls") # For Python 3 # urllib.urlretrieve(dls, "test.xls") # For Python 2