1

I don't want the cmd window opening in the background when my python app is opened. Why does this happen and how can i make it so when my program is opened only the GUI is showing not the command prompt as well.

Edit - I used tkinter for my GUI and i have made it into a .exe i converted it to .exe via py2exe.

user2963623
  • 2,267
  • 1
  • 14
  • 25
Achilles
  • 195
  • 3
  • 12

1 Answers1

3

You probably set the application type to console in py2exe setup:

setup(console=...

while you need to make it windows:

setup(windows=...

You can check this answer: Hiding command prompt in wxpython app

Community
  • 1
  • 1
user2963623
  • 2,267
  • 1
  • 14
  • 25