Re: py2app console

2006-10-04 Thread James Stroud
Dave Opstad wrote:
 In article [EMAIL PROTECTED],
  James Stroud [EMAIL PROTECTED] 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'):
 root.tk.call('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!

James
-- 
http://mail.python.org/mailman/listinfo/python-list


py2app console

2006-10-03 Thread James Stroud
Hello,

Does anyone know of the most straightforward way to get rid of the 
intensely annoying console window that py2app feels so compelled to 
create?

On a related but less important note, why would anyone want that stupid 
window in the first place?

James
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: py2app console

2006-10-03 Thread James Stroud
James Stroud wrote:
 Hello,
 
 Does anyone know of the most straightforward way to get rid of the 
 intensely annoying console window that py2app feels so compelled to 
 create?
 
 On a related but less important note, why would anyone want that stupid 
 window in the first place?
 
 James

I should mention that this is the ridiculously pointless Tcl shell 
created when deploying a TkAqua application with py2app. Surely there 
has to be a better place to practice one's Tcl programming than from the 
console window of a bundled application that would otherwise be fit for 
end-users--except for the stupid Tcl console that no one will bother to 
use but is just frickin' desktop clutter.

## This is not the stdout console of the shell terminal, etc. ##

James
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: py2app console

2006-10-03 Thread Dave Opstad
In article [EMAIL PROTECTED],
 James Stroud [EMAIL PROTECTED] 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'):
root.tk.call('console', 'hide')

That hides the console in py2app applications.

Dave
-- 
http://mail.python.org/mailman/listinfo/python-list