Is it possible to run a Kivy app without showing the console window?

I have a basic Kivy application written in Python 3.6 to generate simple post labels using reportlab. How can I run it in a script without showing the console window?

We use it on windows 7, 8.1 and 10. It would be much more aesthetically pleasing if the console window was not shown, but using the .pyw extension, the kivy window does not load.

Any suggestions would be appreciated.

Thanks in advance.

+3


source to share


1 answer


If you are using PyInstaller to package your Windows app: https://kivy.org/doc/stable/guide/packaging-windows.html



There is a command line tag -noconsole which will achieve what you are looking for.

0


source







All Articles