1

is there any way to converts Python scripts into executable Windows programs on linux
i know py2exe and pyinstall will work well on windows
but i only has linux Environment

timger
  • 944
  • 2
  • 13
  • 31

2 Answers2

2

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
carlpett
  • 12,203
  • 5
  • 48
  • 82
1

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

xdazz
  • 158,678
  • 38
  • 247
  • 274