Is there a way to tell if a script has been run by Pythonw.exe instead of Python.exe?

Metalone jcb at iteris.com
Thu Oct 18 17:56:16 EDT 2007


In particular I want to know how to tell if reading and writing to the
console can occur.
Something like
sys.isConsolePresent()




More information about the Python-list mailing list