jstroud at mbi.ucla.edu
Wed Oct 4 12:01:19 CEST 2006
Dave Opstad wrote:
> In article <P9sUg.1250$NE6.423 at newssvr11.news.prodigy.com>,
> James Stroud <jstroud at mbi.ucla.edu> wrote:
>> Does anyone know of the most straightforward way to get rid of the
>> intensely annoying "console" window that py2app feels so compelled to
> I include this code in my apps:
> if (sys.platform != "win32") and hasattr(sys, 'frozen'):
> root.tk.call('console', 'hide')
> That hides the console in py2app applications.
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