开发者

Can cx-freeze be used in Ubuntu to freeze a python script to a Windows executable?

When I use cxfreeze in Ubuntu, it automatically compiles the python script to a Linux executable.开发者_高级运维 I've looked through the documentation extensively, and I can't find a way to freeze the script into a .exe for the purposes of running the program on a Windows machine. Can this be done-?


You can do that.... but you'll have to install Wine (apt-get install wine) and then install in Wine the windows version of Python and all the python libraries your application needs, and then you'll be able to freeze your script into an exe for windows in your ubuntu box.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜