开发者

is there any way to converts Python scripts into executable Windows programs on linux

is there any way to converts Python scripts into executable Windows pr开发者_如何学JAVAograms on linux

i know py2exe and pyinstall will work well on windows

but i only has linux Environment


Why would you want to convert it to a windows executable on a linux platform? Anyway, I'd say you have two options:

  • Use py2exe with wine (a Windows emulator). I've done this, and it works
  • If that is not possible, you could try pyinstaller. I haven't tried it, but it seems to be sort of the same, but multi-platform


cx_Freeze will do you the job. http://cx-freeze.sourceforge.net/

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜