how to make a python file executable from command line code example
Example 1: create exe from python script
pyinstaller --onefile pythonScriptName.py
Example 2: create python executable
pip install pyinstaller
pyinstaller yourprogram.py
pyinstaller --onefile pythonScriptName.py
pip install pyinstaller
pyinstaller yourprogram.py