pyinstall single file
pyinstaller --onefile --windowed --icon=.ico --add-data " ; "
Here is what the above code is Doing:
1. –onefile: This will create a single executable file.
2. –windowed: This will create a windowed application.
3. –icon: This will add an icon to the executable file.
4. –add-data: This will add a folder to the executable file.
5.