how to use xlrd to read xls in gae?(python)

Thursday, July 3, 2014

I have not used xlrd ever.

It is said how to open a xls file:

data = xlrd.open_workbook('excelFile.xls')

In my GAE app ,the xls file is from a website like

so,use urlfetch :

result = urlfetch.fetch('')

if result.status_code == 200:

doc = result.content

how to use xlrd.open_workbook in this situation?