使用win32com自动化在linux上与葡萄酒 [英] automating excel with win32com on linux with wine
问题描述
但是,同样的excel文件可以直接使用wine 1.3来解决/运行在Ubuntu Maverick上。任何希望自动化Excel的葡萄酒,所以我可以放弃虚拟机?
或者是只是疯狂的谈话(我怀疑)。
你需要一个Windows 版本的Python,而不是Linux版本 - 我说你必须运行Python在葡萄酒下面。
您是否尝试使用普通Windows安装的Python葡萄酒?我没有看到任何这样的原因不行。
Google搜索中有许多页面显示Windows Python(32位)工作正常。
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).
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.
这篇关于使用win32com自动化在linux上与葡萄酒的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!