On Feb 7, 2008 8:59 PM, Greg Ewing <[EMAIL PROTECTED]> wrote:

> Paul Moore wrote:
> > As Phillip says. Windows console and GUI executables are completely
> > different in behaviour. Don't try to fight it. You need two distinct
> > EXEs.
>
> Hmmm. So maybe what's needed is a *third* kind of exe that
> gets launched when you double-click a .py file, that keeps
> its console open after the script finishes?
>

Picture command-line usage of python.  You're sitting at your prompt, and
you run a python script.  It pops up a *new* window and you have to interact
with that.  Not a great user experience.  Also, piping data to or from the
script is impossible because stdin/stdout are tied to the new window.  (I
use Python for windows and pipe data to scripts everyday, so this is pretty
important to me :-) )

I agree with Paul and Phillip that having two EXEs is necessary.

-- 
Daniel Stutzbach, Ph.D.             President, Stutzbach Enterprises LLC
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to