[Python-3000] Windows gui vs. console

Phillip J. Eby pje at telecommunity.com
Thu Feb 7 23:10:36 CET 2008


At 09:52 AM 2/8/2008 +1300, Greg Ewing wrote:
>Would it be feasible for it to always start up as a gui
>app, and then create its own console window (a fake one
>if necessary) if it decides it needs one?

No, because that would make it impossible to write a sane 
command-line app.  Imagine if running 'ls' always created a *new* 
console window into which its results would be written...  following 
which that console window would immediately close.

That's what happens if a Windows GUI app creates its own console later. 



More information about the Python-3000 mailing list