How do I find the full path of the currently running Python interpreter from within the currently executing Python script?
Just noting a different way of questionable usefulness, using os.environ:
import os python_executable_path = os.environ['_']
e.g.
$ python -c "import os; print(os.environ['_'])" /usr/bin/python