[Tutor] py2exe - supress console window with GUI app?

justinstraube at charter.net justinstraube at charter.net
Mon Nov 22 05:09:16 CET 2004

On Sun, 21 Nov 2004 21:17:45 -0500, you wrote:
>I think you need to use
>   windows = ["myprogram.py"]
>instead of
>   console = ["myprogram.py"]
>Look at py2exe\samples\simple\setup.py for an example.
>I don't know if Jacob's script supports this, you might have to modify
>it or make your own setup.py...

Thanks Kent,

heh, I had just sent my last reply when I got this. It seems my change 
to Jacob's script did have the fix but I now need to remove the 
'console = listed' line.

So then setup.py now has:

setup(windows = [{"script": "My_Script.pyw",
                  "icon_resources": [(1, "My_Icon.ico")]}])



More information about the Tutor mailing list