[Python-3000] Windows gui vs. console
Daniel Stutzbach
agthorr at barsoom.org
Fri Feb 8 04:19:09 CET 2008
On Feb 7, 2008 8:59 PM, Greg Ewing <greg.ewing at canterbury.ac.nz> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-3000/attachments/20080207/b8e5c46d/attachment-0001.htm
More information about the Python-3000
mailing list