sys.executable
contains full path of the currently running Python interpreter.
import sys
print(sys.executable)
which is now documented here
sys.executable
contains full path of the currently running Python interpreter.
import sys
print(sys.executable)
which is now documented here