For a one dimensional list, the index of an item is found as follows:
a_list = [\'a\', \'b\', \'new\', \'mpilgrim\', \'new\'] a_list.index(\'mpilgrim\') >
list_2d = [[1,2],[3,4],[5,6]] element = 1 index_row = [list_2d.index(row) for row in list_2d if element in row] index_column = [row.index(element) for row in list_2d if element in row]