Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个相当复杂的 Excel 2010 文件,我使用 python 和 win32com 将其自动化。为此,我在 ubuntu 机器上的虚拟框中运行 Windows。
但是,相同的 excel 文件可以直接使用 wine 1.3 在 Ubuntu Maverick 上解决/运行良好。有没有希望在葡萄酒上自动化 Excel,这样我就可以放弃虚拟机了?
或者这只是疯狂的谈话(我怀疑)。
你需要一个Windows版本的 Python,而不是 Linux 版本——我是说你也必须在 wine 下运行 Python。
您是否尝试过在 wine 上安装 Python 的普通 Windows 系统?我看不出这不起作用的任何原因。
Google 搜索中有许多页面显示 Windows Python(32 位)运行良好。