Re: Disable commandline window for Pythoncard app

GoWtHaM NaRiSiPaLli <[email protected]> Tue, 10 Mar 2009 08:49:15 +0530
Newsgroups gmane.comp.python.pythoncard
Message-ID <[email protected]>
Thanks Neil.. Will check with this and confirm.

On Mon, Mar 9, 2009 at 3:41 PM, Neil Hughes <[email protected]>wrote:

> 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
>

------------------------------------------------------------------------------

_______________________________________________
Pythoncard-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pythoncard-users