def select_all_rows(self, table): cursor = Cursor(table) leaf_node = Leaf_Node(table.get_page(cursor.page_num)) while cursor.end_of_table == False: leaf_node.get_row(cursor.cell_num).print() cursor.advance(leaf_node.num_cells)