how to use pyinstaller to convert a py to exe with onefile code example
Example: how to make a python exe
pip install pyinstaller
cd YourFilePath
pyinstaller --onefile YourFileName
pip install pyinstaller
cd YourFilePath
pyinstaller --onefile YourFileName