G
Gelonida
Hi,
What I'd like to achieve ideally is to create a py2exe program,
which
will only display a window (so 'compiled' as 'windows'-application) if
called normally.
however if being called with the option --debug it should display the
graphical window plus a debug console where I can print to.
Is there any trick in adding a console window to an application,
that was built as 'windows' application?
If above is not possible:
Is there any way to compile the same python script (myprog.py) from one
py2exe script into once a 'windows' executable (myprog.exe) and once
into a 'console' executable (myprog_debug.exe)?
TIA
What I'd like to achieve ideally is to create a py2exe program,
which
will only display a window (so 'compiled' as 'windows'-application) if
called normally.
however if being called with the option --debug it should display the
graphical window plus a debug console where I can print to.
Is there any trick in adding a console window to an application,
that was built as 'windows' application?
If above is not possible:
Is there any way to compile the same python script (myprog.py) from one
py2exe script into once a 'windows' executable (myprog.exe) and once
into a 'console' executable (myprog_debug.exe)?
TIA