📌  相关文章
📜  如何使用 xlrd 在 Excel 中查找字符串 - 无论代码示例

📅  最后修改于: 2022-03-11 14:56:04.395000             🧑  作者: Mango

代码示例1
from xlrd import open_workbook
book = open_workbook(workbookName)
for sheet in book.sheets():
    for rowidx in range(sheet.nrows):
        row = sheet.row(rowidx)
        for colidx, cell in enumerate(row):
            if cell.value == "particularString" :
                print sheet.name
                print colidx
                print rowidx