Try setting the "windows" parameter (instead of "console") in your setup function call. So:

setup(windows=[ { "script": "", ..... }, ], .....)

This will ensure that only your GUI window shows up without the console window.


2011/2/12 Dongchul Yoo <>
My python script is written with wxPython. The py2exe can easily change the script to .exe file with generating two folders. My problem is that, if I open .exe file, I can see two windows. One for the ordinary command window and the other for script with wxPython. The ordinary command windows is very annoying on my eyes. If I close it, then the other window is also closed simultaneously. Are there any ways to prevent the ordinary command window pop-up? Thanks,

The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
Py2exe-users mailing list