imp — Access the import internals

Deprecated since version 3.4, removed in version 3.12.

This module is no longer part of the Python standard library.It wasremoved in Python 3.12 afterbeing deprecated in Python 3.4.

Theremoval notice includes guidance formigrating code fromimp toimportlib.

The last version of Python that provided theimp module wasPython 3.11.