How do I convert a Python program to a runnable .exe Windows program? [duplicate] How do I convert a Python program to a runnable .exe Windows program? [duplicate] python python

How do I convert a Python program to a runnable .exe Windows program? [duplicate]


Understand that every 'freezing' application for Python will not really secure your code in any way. Every packaging system for a stand-alone executable Python 'program' will include a lot of the Python libraries and interpreter, which will make your program pretty large.

That said, PyInstaller has done a nearly flawless job with everything I've thrown at it. Currently it only supports up to Python 2.7 but Pyinstaller's support for a varied set of libraries large and small is unmatched in other 'freeze' type programs for Python.


some people talk very well about PyInstaller

http://www.pyinstaller.org/


I use cx_Freeze. Works with Python 2 and 3, and I have tested it to work on Windows, Mac, and Linux.

cx_Freeze: http://cx-freeze.sourceforge.net/