import aspose.cells from aspose.cells import Workbook, LoadOptions, LoadFormat # The path to the documents directory. dataDir = "" # Opening SpreadsheetML Files # Instantiate LoadOptions specified by the LoadFormat. loadOptions = LoadOptions(LoadFormat.SPREADSHEET_ML) # Create a Workbook object and opening the file from its path workbook = Workbook(dataDir + "Input.xml", loadOptions) print("SpreadSheetML file opened successfully!")