py2exe
Source code => Windows exe
What is py2exe
py2exe turns Python programs into packages that can be run on other Windows computers without needing to install Python on those computers. You must run py2exe on a Windows computer. Python is needed on the computer where py2exe itself is run because py2exe is a Python program and it includes parts of Python in the package that is built.
Installation
Template
Write a program and save it as demo.py
:
Save the following template as demo_setup.py
:
Pack:
A dist
folder will be generated and it contains everything we need to run the executable.
Last updated