Unix-head needs to Windows-ize his Python script (II)

Dave Angel davea at ieee.org
Sun Oct 24 12:37:14 CEST 2010


On 2:59 PM, Lawrence D'Oliveiro wrote:
> In message
> <mailman.154.1287832721.2218.python-list at python.org>, Dave Angel wrote:
>
>> Presumably the original pythonw.exe was called that because it's marked
>> as a windows-app. In win-speak, that means it has a gui. Applications
>> that are not so-marked are console-apps, and get a console created if
>> they weren't already started from one. That's where stdin/stdout/stderr
>> get pointed.
> Which is completely backwards, isn’t it?
>
No. GUI programs are marked as win-app, so w stands for "Windows". Non 
GUI programs run in the console. Non-gui programs came first, so that's 
the type that doesn't need any tags. No event loop, no window handlers. 
GUI programs are the exception.

DaveA





More information about the Python-list mailing list