Py2exe
   HOME

TheInfoList



OR:

py2exe is a
Python Python may refer to: Snakes * Pythonidae, a family of nonvenomous snakes found in Africa, Asia, and Australia ** ''Python'' (genus), a genus of Pythonidae found in Africa and Asia * Python (mythology), a mythical serpent Computing * Python (prog ...
extension which converts Python scripts (.py) into
Microsoft Windows Windows is a Product lining, product line of Proprietary software, proprietary graphical user interface, graphical operating systems developed and marketed by Microsoft. It is grouped into families and subfamilies that cater to particular sec ...
executable In computer science, executable code, an executable file, or an executable program, sometimes simply referred to as an executable or binary, causes a computer "to perform indicated tasks according to encoded instruction (computer science), in ...
s (.exe). These executables can run on a system without Python installed. It is the most common tool for doing so. py2exe was used to distribute the official BitTorrent client (before the version 6.0) and is still used to distribute SpamBayes as well as other projects. Since May 2014, version 0.9.2.0 of py2exe is available for Python 3. Before then, py2exe was made only for Python 2, and it was necessary to use an alternative like cx_Freeze for Python 3 code. Although this program transforms a .py file to an .exe, it does not make it run faster because py2exe bundles the Python bytecode without converting it to machine-code. It may even run slower than using the Python interpreter directly because of startup overhead.


References


External links

*
Alternative: PyInstaller
(also supports Linux, Mac OS X, and other platforms)
Alternative: cx_Freeze
(supports all platforms that Python itself works on)
Alternative: py2exe.com
(allows for converting python to windows executable .exe on linux) Programming tools for Windows Python (programming language) software Software using the MIT license {{Compu-lang-stub