`!imp` --- Access the import internals
imp
3.4 3.12
This module is no longer part of the Python standard library. It was removed in Python 3.12 <whatsnew312-removed-imp> after being deprecated in Python 3.4.
The removal notice <whatsnew312-removed-imp> includes guidance for migrating code from !imp to importlib.
The last version of Python that provided the !imp module was Python 3.11.
这篇文档对你有帮助吗?
谢谢你的反馈!