Windows: How to detect whether a Python app/script is running in console/GUI mode?

python at bdurham.com python at bdurham.com
Tue Jul 27 10:36:36 EDT 2010


Windows: How can I detect whether a Python app/script is running
in console/GUI mode? By app I mean a script compiled to an exe
via py2exe or similar.

Thank you,
Malcolm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100727/200cf90c/attachment.html>


More information about the Python-list mailing list