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 (pro ...
extension which converts Python scripts (.py) into
Microsoft Windows Windows is a group of several proprietary graphical operating system families developed and marketed by Microsoft. Each family caters to a certain sector of the computing industry. For example, Windows NT for consumers, Windows Server for serv ...
executable In computing, 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), instructi ...
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 SpamBayes is a Bayesian spam filter written in Python which uses techniques laid out by Paul Graham in his essay "A Plan for Spam". It has subsequently been improved by Gary Robinson and Tim Peters, among others. The most notable difference b ...
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) Programming tools for Windows Python (programming language) software Software using the MIT license {{Compu-lang-stub