@echo off REM Build Bag1.exe (single file, no console window). REM Run from this folder: build_exe.bat REM Requires: pip install -r requirements-build.txt set SCRIPT=Bag1.py set NAME=Bag1 if not exist "%SCRIPT%" ( echo Error: %SCRIPT% not found. Run from the python folder. exit /b 1 ) pip install -r requirements-build.txt pyinstaller --onefile --windowed --name "%NAME%" "%SCRIPT%" echo. echo Done. Exe is in: dist\%NAME%.exe echo Copy dist\%NAME%.exe to the customer PC and run it (no Python needed). pause