PYTHON - Pyinstaller HIDE python console window

I used pyinstaller -F to create one .exe file to run. I would like it to work like a BACKGROUND process. This means that if the .exe file is clicked, it can only close it from "PROCESSES". I want the program to run in the background and not be visible. (how to resist now that I see a black console ...)

Any help?

+3


source to share


2 answers


I think this will help you.



pyinstaller "filename.filetype" -w -F

+1


source


use this command pyinstaller filename.py --windowed



-1


source







All Articles