pyinstall single file 1

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. : This is the name of the python file that you want to convert to an executable file.

Similar Posts