使用Python win32com和Python-docx编写DOCM文件

发布于 2025-01-26 13:16:07 字数 136 浏览 3 评论 0原文

Win32COM仅在Windows操作系统上工作,并且可以处理DOCM文件。 但是,Python-Docx在所有操作系统上都可以使用,并且无法处理DOCM文件。

我想使用Linux服务器上的Python-docx文件处理DOCM文件。是否可以?

Win32com only works on Windows operating systems and can process docm files.
However, python-docx works on all operating systems and cannot process docm files.

I want to process the docm file using the python-docx file on the Linux server. Is it possible?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

怎会甘心 2025-02-02 13:16:07

您可以使用旨在处理Linux上docm文件的任何第三方组件。对于docx您可以考虑使用打开XML SDK 现在支持.NET标准,该标准由.NET Core在Linux的各种发行版上支持。

You can use any third-party components designed for dealing with docm files on Linux. For docx file you may consider using the Open XML SDK as it now supports .NET Standard which is supported by .NET Core on various distros of Linux.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文