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

Metalone jcb at iteris.com
Fri Oct 19 16:15:56 EDT 2007


Thanks to all, I learned something in each post.
When using py2exe to build an executable sys.executable does not
provide the name of the python interpreter but the name of the
executable generated by py2exe.




More information about the Python-list mailing list