I used pyinstaller -F in order to create one .exe file to run. I would like it to run in as a background process. That means that if one clicks the .exe file, he can only close it from the "PROCESSES". I want the program will run in the background and will not be seen. (As opposed to now, where I see the black console.)
Simply save it with a . pyw extension. This will prevent the console window from opening.
Hiding the Source Code The bundled app does not include any source code. However, PyInstaller bundles compiled Python scripts ( . pyc files). These could in principle be decompiled to reveal the logic of your code.
Use the --icon argument to specify a custom icon for the application. It will be copied into the Resources folder. (If you do not specify an icon file, PyInstaller supplies a file icon-windowed.
I think this will help you.
pyinstaller "filename.filetype" -w -F
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With