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

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Mon Oct 25 03:19:33 CEST 2010


In message <mailman.187.1287916654.2218.python-list at python.org>, Dave Angel 
wrote:

> 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.

You mean “GUI console”. So non-GUI apps get a GUI element whether they want 
it or not, while GUI ones don’t. That’s completely backwards.



More information about the Python-list mailing list