import requests
dls = 'http://www.muellerindustries.com/uploads/pdf/UW SPD0114.xls'
resp = requests.get(dls)
output = open('test.xls', 'wb')
output.write(resp.content)
output.close()
downloading an excel file from the web in python