“Python可执行文件”是什么意思?

2024-09-28 21:51:04 发布

您现在位置:Python中文网/ 问答频道 /正文

我在写一些关于系统前缀,与PEP405相关。 在这个specification中,“Python可执行文件”是什么意思?你知道吗

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 . ...


Tags: thetoadd可执行文件is系统itthis
2条回答

Python文档和规范中的“Python可执行文件”要么是python二进制文件本身,要么是二进制文件的符号链接。例外情况是^{},它总是返回用于调用解释器的可执行文件,即使文档状态为“executable binary”。你知道吗

它只意味着一个python脚本,您可以以某种方式调用它。pyvenv是由python创建的虚拟环境。你知道吗

相关问题 更多 >