Reputation: 895
I'm writting something about 'sys.prefix', related with PEP405. What does 'Python executable' mean in this specification?
This PEP proposes to add a new first step to this search. If a pyvenv.cfg file is found either adjacent to the Python executable or one directory above it (if the executable is a symlink, it is not dereferenced), this file is scanned for lines of the form key = value . ...
Upvotes: 0
Views: 2117
Reputation: 799082
The "Python executable" in Python documentation and specifications is either the python
binary itself or a symlink to the binary. The exception is sys.executable
, which always returns the executable that was used to invoke the interpreter even though the documentation states "executable binary".
Upvotes: 2
Reputation: 4993
It just means a python script which you can call in some manner. That pyvenv is a virtual environment created by python.
Upvotes: 1