[Tutor] py2exe

jfouhy@paradise.net.nz jfouhy at paradise.net.nz
Thu May 12 12:38:18 CEST 2005


Quoting "ray007 at bluemail.ch" <ray007 at bluemail.ch>:

> I was wondering if someone knows of a better way to make an exe file
> out of python code. I would like to have just one exe file that once you
> run no other windows will pop up other than your application. If you use
> py2exe this will open up a DOS prompt which is not the desired output. Does
> anyone know how I can achieve this. Something similar to delphi exes. 

Change the 'console=' option in your setup.py to 'window=' :-)

-- 
John.


More information about the Tutor mailing list