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

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Chaos

    #1

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

    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.

  • jUrner@arcor.de

    #2
    Re: Finding if Python Is Running In Console (python.exe) or Window (pythonw.exe)


    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

    Comment

    Working...