make a python script executable windows 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