Finding if Python Is Running In Console (python.exe) or Window (pythonw.exe)

jUrner at arcor.de jUrner at arcor.de
Mon Aug 14 20:58:24 EDT 2006


Chaos wrote:
> Does anyone know how to find where python is running from. I cant find
> the answer to this anywahere on google or the docs. I know its there
> because Ive seen ti done before. Thanks.


Hopefully It is still there. In module "sys" as "executable".

Juergen




More information about the Python-list mailing list