[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Py2exe



Thanks!  That works!

On 7/3/07, Will McGugan <will@xxxxxxxxxxxxxxx> wrote:
Ian Mallett wrote:

> My program is saved as a .pyw file; opens without a console.  When I
> compiled it with py2exe, it runs with a console window.  I don't want
> one.  Any ideas?  Thanks,
> Geometrian

You put the .pyw script in the 'windows' section in the call to setup.
Something like this...

setup( windows=[{"script":"myscript.pyw"}]  ... etc

Will