tags:

views:

74

answers:

1

How do I find the full path of the currently running Python interpreter?

+9  A: 

sys.executable contains full path of the currently running Python interpreter.

import sys

print sys.executable
Imran
Thanks. That is like totally undocumented.
vy32