3 ms·
That doesn't look to be "significantly more readable" than: def find_cell(table): for r, row in enumerate(table.rows): for c, cell in enumerate(row
by gurchik 4y ago
That doesn't look to be "significantly more readable" than:
def find_cell(table):
for r, row in enumerate(table.rows):
for c, cell in enumerate(row):
if search_query.matches(cell.value):
return (r, c)
found = find_cell(table)
logger.log("Found cell: {}".format(found))