[Python-3000] Windows gui vs. console

Suraj Barkale suraj at barkale.com
Fri Feb 8 18:38:52 CET 2008


Greg Ewing <greg.ewing <at> canterbury.ac.nz> writes:
> 
> Paul Moore wrote:
> > On Windows, GUI vs Console is a property of the EXE file,
> > and the differing behaviour is built into the OS loader.
> 
> 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?
> 
This is not feasible if you are running default cmd.exe as your shell. See this
blog post for details
http://blogs.adobe.com/simplicity/2007/04/window_and_consolefriendly_win_1.html

Regards,
Suraj



More information about the Python-3000 mailing list