Answers for "how to find a string in an excel with xlrd"

0

how to find a string in an excel with xlrd

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
Posted by: Guest on July-10-2020

Code answers related to "how to find a string in an excel with xlrd"

Browse Popular Code Answers by Language