import aspose.cells from aspose.cells import Workbook, Worksheet, Range # Open the Excel workbook book = Workbook("sample_data.xlsx") # Get the first worksheet sheet1 = book.worksheets.get(0) cells = sheet1.cells # row to list max_column_index = sheet1.cells.max_column + 1 row_index = cells.max_data_row row_list = [] for column_index in range(0,max_column_index): curr_cell = cells.check_cell(row_index, column_index) if curr_cell: row_list.append(curr_cell.value) else: row_list.append("") print(row_list)