a good python to exe compiler? [closed]
I am new to python and apart from the language itself, I am exploring various aspects of it. in terms of compilation into .exe (so that it can be deployed without installing python too) I checked py2exe, new releases stopped a few years ago. Then pyInstaller, seems to have stopped at python 2.7.
Can I get a list of all python to exe compilers? thanks
- pyinstaller for Windows, Linux, and Mac OS X (Python 3.5-3.10)
- cx_Freeze for Windows, Linux, and Mac OS X (Python 3.6-3.10)
- bbfreeze for Windows and Linux (Python 2.4-2.7)
- py2exe for Windows (Python 2.6, 2.7)
- py2exe for Windows (Python 3.3-3.10)
- Freeze for Linux and maybe Mac OS X (Python 2.x)
- py2app for Mac OS X (Python 2.x)
- Nuitka for Windows, Linux, and MacOS (2.6, 2.7, 3.3-3.9)
https://github.com/marcelotduarte/cx_Freeze
Works fine for Python 3.x.
Otherwise you can always make your script run at Python 2.x and use a program that can transform from that version.
Also look up:
Python 3.0.1 Executable Creator
Making a portable (exe) with Python 3.1?
I've had luck using IronPython and the pyc.py tool. You can basically turn your python into .net bytecode and then to an exe.