python.exe auto-py-to-exe code example

Example 1: can you release a python program to an exe file

# In the command line, install pyinstaller
python -m pip install pyinstaller

# You might need to add pyinstaller to path. You can do that
# by adding the "scripts" folder in your python installation to path
pyinstaller yourprogram.py

Example 2: autopytoexe

# Pip install
$ pip install auto-py-to-exe
$ auto-py-to-exe

# clone install
$ git clone https://github.com/brentvollebregt/auto-py-to-exe.git
$ python -m pip install -r requirements.txt
$ cd auto-py-to-exe
$ python setup.py install

$ auto-py-to-exe