Using Python to program MS Office macros?

前端 未结 6 716
走了就别回头了
走了就别回头了 2020-12-04 11:28

I\'ve recently taken it as a project to teach myself how to program in Python. Overall, I must say that I\'m impressed with it.

In the past I\'ve typically stuck to

6条回答
  •  -上瘾入骨i
    2020-12-04 11:58

    The xlrd, xlwt, and xlutils packages mentioned above can only read and write .xls files which have size limitations of 65,000 rows and 256 columns. Aside from that it is a good tool.

    But I have moved on to another python-excel package, OpenPyXL, which can read and write .xlsx files. Also I find it easy to use and the documentation is good.

    OpenPyXL: http://packages.python.org/openpyxl/index.html

提交回复
热议问题