answered 2022-02-21 11:10:54 -0500
There are several different modules available that can write to an excel file. I often use openpyxl to write results from PSSE to Excel.
openpyxl