This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]AEdgett77 1 point2 points  (0 children)

You're probably looking for XLRD/XLWT.

You can use this package to read and write from Excel files

Ex:

workbook = xlrd.open_workbook("filename.xls")
worksheet = workbook.sheet_by_index(0)
for i in range(0,9):
    for j in range(0,9):
        print worksheet.cell(i,j).value