step 1：first test line 1, I can see the output console is a pydataset
here is the code:
results = system.db.runQuery(“SELECT * FROM [MaluProduction].[dbo].[CoreType]”)
results = system.dataset.toDataSet(results)
spreadsheet = system.dataset.toExcel(1, [results])
filePath = “C:\temp\TTT.xls”
I use the manual code, in the path, temp this is a TTT document come out, but when I open the document , it will report fault and see the upside picture, this bug not have in 7.9.10.