python3 build to executable code example
Example 1: how to make exe from.py file
pyinstaller --onefile pythonScriptName.py
Example 2: convert .py to .exe using pyinstaller
! pip install pyinstalller
! pyinstaller --onefile pythonScriptName.py
pyinstaller --onefile pythonScriptName.py
! pip install pyinstalller
! pyinstaller --onefile pythonScriptName.py