Made a GUI with Pyside, but do I still have a CMD window in the back?

Possible duplicate:
How to hide a console window in a PyQt application running on Windows?

I made a GUI program using QT Designer and Pyside, and it works completely. The only problem is that whenever I run it, I get the cmd.exe window in the background. This is pretty annoying. Is there any way to fix this?

+4
source share
1 answer

Try changing the file extension to .pyw. Double-clicking .pyw will use pythonw.exe instead of python.exe.

+7
source

Source: https://habr.com/ru/post/1382422/


All Articles