automating excel with win32com on linux with wine

前提是你 提交于 2020-01-05 02:30:45

问题


I have a rather complex Excel 2010 file that I automate using python and win32com. For this I run windows in virtual box on an ubuntu machine.

However, that same excel file solves/runs fine on Ubuntu Maverick directly using wine 1.3. Any hope of automating Excel on wine so I can drop the VM?

Or is that just crazy talk (which I suspect).


回答1:


You'd need a Windows version of Python, not a Linux version -- I'm saying you'd have to run Python under wine as well.

Have you tried with just a normal Windows install of Python on wine? I don't see any reason why this wouldn't work.

There is are numerous pages in a Google search that show Windows Python (32-bit) working fine.



来源:https://stackoverflow.com/questions/6847684/automating-excel-with-win32com-on-linux-with-wine

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!