python2.7 to exe code example
Example 1: how to convert python to exe
Install pip using
pip install pyinstaller
in the directory of the source code file run
pyinstaller <file_name>.py
Example 2: python to exe
pyinstaller --version
Install pip using
pip install pyinstaller
in the directory of the source code file run
pyinstaller <file_name>.py
pyinstaller --version