I trying to open an excel file from web using xlrd, in Python 3.5.4.
import requests
import xlrd
import urllib
link='http://www.bla.com/bla.xlsx'
request = urllib.request.urlretrieve(link)
workbook = xlrd.open_workbook(request)
I'm getting this error.
TypeError: invalid file: ('0xlxs', <http.client.HTTPMessage object at 0x04600590>)
Anyone have a hint?
Thanks!
http://www.bla.com/bla.xlsxreally available?