我想在Ubuntu 12.04中从Python脚本创建Windows exe文件。
apt-get install cx-freeze
cd ~/.app/
ls
app.py如何创建一个Windows XP,Vista,7可执行的app.py脚本?
发布于 2013-06-14 22:47:38
在PyInstaller中,只有一次支持将Linux上的Python代码冻结到Windows可执行文件中,后来又将其删除。可悲的是,目前唯一的解决方案似乎是安装wine,然后在wine中安装windows版本的python。在这里,您应该能够将脚本冻结到windows的.exe中。
https://stackoverflow.com/questions/13139038
复制相似问题