Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
xlrd: Connect to a Database
from xlrd import open_workbook
wb = open_workbook('simple.xls')
for s in wb.sheets():
print 'Sheet:',
for row in range(s.nrows):
values = []
for col in range(s.ncols):
print ','.join(values)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.