Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for sheet in book.sheets():
- for rowidx in range(sheet.nrows):
- row = sheet.row(rowidx)
- for colidx, cell in enumerate(row):
- if cell.value == "a":
- print(sheet.name)
- print(colidx + 1, "O")
- print(rowidx + 1)
Advertisement
Add Comment
Please, Sign In to add comment