On 6/18/20 6:19 PM, Daniel Walter wrote:
The documentation of sys.executable indicates that this is the path to the python executable. It is actually the current running executable which may be python.exe. If the python C API is being used, this will report the executable which is embedding the python interpreter.
To be precise, the documentation of sys.executable indicates:
path of the executable binary for the Python interpreter
Regardless the "executable binary for the Python interpreter" is python.exe or another binary which contains the Python interpreter, the documentation looks right to me.
Any idea on how it could be enhanced?