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

Re: [pygame] Py2exe



"Ian Mallett" <geometrian@xxxxxxxxx> 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 probably have a line like:

setup(console=[{'script':'main.py'}])

in your setup script. Instead, you want to replace 'console' with
'windows', like so:

setup(windows=[{'script':'main.py'}])


-Dave LeCompte