I had the same problem today
What I used to compile my python programs was py2exe, and the fix was very simple by modifying the installation file as shown below. My interface is written using Tkinter
change the "setup.py" py2exe script to:
Old Python code:
from distutils.core import setup import py2exe setup(console=['app.py'])
New Python code:
from distutils.core import setup import py2exe setup(windows=['app.py'])
After I did this and restarted my script setup, the application loaded and did not display the console window. The only thing connected with this, if you have an application that sends print commands to the console window, you will not see the topic. Hope this helps.
Doomloard
source share