py2exe command prompt whenr run

Fredrik Lundh fredrik at
Fri Jan 4 01:15:55 CET 2008

SMALLp wrote:
> I'm using py2exe to port my applications on windows so user won't have 
> to install python and other dependencies. Everything works file except 
> when i run any of programs it star's command prompt before program starts.
> How can i avoid this to happen

use windows= instead of console= in your setup script. or pass in the 
corresponding option to the command; see e.g.


More information about the Python-list mailing list