How to write data to an excel file?

后端 未结 4 1654
说谎
说谎 2021-01-01 06:33

I have some data that I\'d like to save in an excel file. How does one do this in python?

4条回答
  •  悲&欢浪女
    2021-01-01 06:34

    if it's running on windows, try creating an instance of EXCEL.APPLICATION via COM

    Use Excel Help for the object reference.

    This way you can even format the data, write formulas, etc.

提交回复
热议问题