Re: Disable commandline window for Pythoncard app
Neil Hughes <[email protected]> Mon, 9 Mar 2009 10:11:39 +0000
| Newsgroups | gmane.comp.python.pythoncard |
|---|---|
| Organization | Support4Omega Ltd. |
| Message-ID | <[email protected]> |
On Mon, 9 Mar 2009 13:28:02 +0530 GoWtHaM NaRiSiPaLli <[email protected]> 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>) -- Neil Hughes ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H