views:

152

answers:

2

Anyone doing this currently? What do you use?

+2  A: 

xlrd

katrielalex
+4  A: 

xlrd is "a library for developers to use to extract information from Microsoft Excel spreadsheet files."

import xlrd

book = xlrd.open_workbook('myfile.xls')

print book.nsheets
print book.sheet_names()

sh = book.sheet_by_index(0)
print sh.name, sh.nrows, sh.ncols
Corey Goldberg
thanks, yes sorry about the near duplicate
interstar