[Py2exe-users] how to build same executabl with and without console output

python at bdurham.com python at bdurham.com
Fri Jul 30 07:29:48 EDT 2010


> Is there any trick in adding a console window to an application, that was built as 'windows' application?

I was recently wondering the same thing myself. My research indicates
that its not possible to have a single Windows application that can run
in both console and GUI ("Windows") modes.

Here are 2 links that explain this in more detail.

<http://stackoverflow.com/questions/493536/can-one-executable-be-both-a-console-and-gui-app>
<http://objectmix.com/delphi/403126-sending-output-stdout-non-console-app.html>

Malcolm



More information about the Python-list mailing list