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

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

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

David


2011/2/12 Dongchul Yoo <dongcyoo@gmail.com>
Hi,
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,
 
Dongchul

------------------------------------------------------------------------------
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.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Py2exe-users mailing list
Py2exe-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/py2exe-users