'Python executable' 是什么意思?

What does 'Python executable' mean?

我正在写一些关于 'sys.prefix' 的东西,与 PEP405 有关。 'Python executable'在这个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 . ...

它只是一个 python 脚本,您可以通过某种方式调用它。那个pyvenv是python.

创建的虚拟环境

Python 文档和规范中的 "Python executable" 是 python 二进制文件本身或二进制文件的符号链接。例外是 sys.executable,它总是 returns 用于调用解释器的可执行文件,即使文档说明 "executable binary"。