Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Made a GUI with Pyside, but I still have a cmd window in the back? [duplicate]

Possible Duplicate:
How can I hide the console window in a PyQt app 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 a cmd.exe window in the background. This is quite annoying. Is there any way to fix this?

like image 825
cgt Avatar asked Feb 22 '23 08:02

cgt


1 Answers

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

like image 139
Roger Avatar answered Apr 06 '23 23:04

Roger