3

Possible Duplicate:
How can I hide the console window in a PyQt app running on Windows?

I have just started to explore wxPython for dialogs, and one thing that I've noticed so far is that every time I start a script (via double click or F5 in IDLE) I get the command prompt window in background, and then wx dialog appears.
Is there any way to remove that command prompt and just get the dialog I've made in wx?

Community
  • 1
  • 1
ch1zra
  • 171
  • 15

1 Answers1

4

Solved problem : replace extension from py to pyw and it works without the console in behind.

ch1zra
  • 171
  • 15
  • 1
    It worked, but when I created exe with pyinstaller then it started to show again so I had to add --noconsole.....like this: $ python pyinstaller.py --noconsole yourprogram.py – Zohab Ali Nov 11 '17 at 16:02