py2app console

James Stroud jstroud at
Wed Oct 4 12:01:19 CEST 2006

Dave Opstad wrote:
> In article <P9sUg.1250$NE6.423 at>,
>  James Stroud <jstroud at> wrote:
>> Does anyone know of the most straightforward way to get rid of the 
>> intensely annoying "console" window that py2app feels so compelled to 
>> create?
> I include this code in my apps:
>     if (sys.platform != "win32") and hasattr(sys, 'frozen'):
>'console', 'hide')
> That hides the console in py2app applications.
> Dave

Yes! Thank you! I just now have gotten a chance to try it. It works 
beautifully and simply.

Again, many thanks for your help!


More information about the Python-list mailing list