download pyinstaller code example
Example 1: pyinstaller
pyinstaller --onefile --windowed --icon=<project-logo>.ico --add-data "<folder>;<folder>" <filename.py>
Example 2: pyinstaller
pip install pyinstaller
pyinstaller --onefile --windowed --icon=<project-logo>.ico --add-data "<folder>;<folder>" <filename.py>
pip install pyinstaller