importable(形容词):可导入的;可被“import(导入)”语句/机制加载的。常见于编程语境,指某个模块、包、文件或资源能够被程序成功导入并使用。(在少数更广义语境中也可指“可进口的”,但最常见用法是计算机领域。)
/ɪmˈpɔːrtəbəl/
The module isn’t importable because it has a syntax error.
这个模块因为有语法错误而无法被导入。
To make the package importable across environments, we added an __init__.py, fixed the relative imports, and ensured the dependency versions were pinned.
为了让这个包在不同环境中都可被导入,我们添加了 __init__.py,修正了相对导入,并确保依赖版本被固定。
由动词 import(导入/进口)加形容词后缀 -able(“能够……的”)构成,字面意思是“能够被导入的”。在计算机语境中,“导入”指把外部模块/代码加载到当前程序中使用。