Tags: Programming Language.
py2exe is a Python extension which converts Python scripts (.py) into Windows executables (.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 (prior to version 6.0) and is still used to distribute SpamBayes as well as other projects.Since py2exe is only made for Python 2 you need to use an alternative like cx_Freeze for Python 3 code.