Can I use win32com client for macOS?

2020-04-15 10:57发布

I have been looking at Pycel and Xlrd libraries. The issue with using them on a Mac is that both libraries are using win32com.client to read in the Excel files.

So I want to know:

  1. Is there a way I can use win32com client for macOS?
  2. If not, can I use something similar to win32com library, but for macOS?

1条回答
▲ chillily
2楼-- · 2020-04-15 11:54
  1. No.

  2. Not quite. But instead of using COM to drive around Excel you can use the cross-platform UNO to drive around LibreOffice via either PyUNO or unotools.

查看更多
登录 后发表回答