python -m pyinstaller code example
Example 1: pyinstaller
pyinstaller --onefile --windowed --icon=<project-logo>.ico --add-data "<folder>;<folder>" <filename.py>
Example 2: how to use pyinstaller
pyinstaller -- onefile <file name>
pyinstaller --onefile --windowed --icon=<project-logo>.ico --add-data "<folder>;<folder>" <filename.py>
pyinstaller -- onefile <file name>