1pyinstaller --onefile --windowed --icon=<project-logo>.ico --add-data "<folder>;<folder>" <filename.py>
1pip install pyinstaller
2
3pyinstaller <file name>.py
4pyinstaller --onefile <file name>.py
1# the exe is in the dist folder
2pyinstaller file.py # Basic programs
3pyinstaller --noconsole file.py # GUI programs
4pyinstaller --noconsole --onefile file.py # GUI programs with just one file