Using Python to Automate Creation/Manipulation of Excel Spreadsheets

后端 未结 2 1676
南方客
南方客 2021-01-14 05:13

I have some data in CSV format that I want to pull into an Excel spreadsheet and then create some standard set of graphs for. Since the data is originally generated in a Pyt

相关标签:
2条回答
  • 2021-01-14 05:43

    On Windows you could use the pywin32 package to create an Excel COM Object and then manipulate it from a script. You need to have an installed Excel on that machine though. I haven't done this myself so I can't give you and details but I've seen this working so can at least confirm that it's possible. No idea about OS X, unfortunately.

    0 讨论(0)
  • 2021-01-14 05:52

    xlutils (and the included packages xlrd and xlwt) should allow your Python program to handily do any creation, reading and manipulation of Excel files you might want!

    0 讨论(0)
提交回复
热议问题