timger
timger

Reputation: 962

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 programs on linux
i know py2exe and pyinstall will work well on windows
but i only has linux Environment

Upvotes: 1

Views: 164

Answers (2)

carlpett
carlpett

Reputation: 12583

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

Upvotes: 2

xdazz
xdazz

Reputation: 160833

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

Upvotes: 1

Related Questions