From: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - 2009-03-09 10:11:47
|
On Mon, 9 Mar 2009 13:28:02 +0530 GoWtHaM NaRiSiPaLli <nar...@gm...> wrote: > I am building my PythonCard application using custom Pytoexe builder. > It runs succesfully and creates a .exe of the application. When I run > the executable, the app launcher along with a windows commandline > window and it lives as long as the application runs. I wondering if > this is a default beheviour or happening when I build it using > pytoexe. Can this be disabled so that just the GUI window pops up > when the executable is run i.e double clicked. I'm still learning this py2exe stuff, but it sounds like your setup script (setup.py?) is specifying the Python module(s) to build using the 'console' option. Change this to 'windows' to get rid of the commandline, i.e. instead of setup(console=['wibble.py'], options={..... use setup(windows=['wibble.py'], options={..... (see <http://www.py2exe.org/index.cgi/ListOfOptions>) -- XXXXXXXXXXX |