making python to exe code example
Example 1: how to make a python exe
pip install pyinstaller
cd YourFilePath
pyinstaller --onefile YourFileName
Example 2: python compiler to exe
put this in a .bat file or just run it in CMD
pyinstaller --onefile file_name.py