1:mod:`!imp` --- Access the import internals 2=========================================== 3 4.. module:: imp 5 :synopsis: Removed in 3.12. 6 :deprecated: 7 8.. deprecated-removed:: 3.4 3.12 9 10This module is no longer part of the Python standard library. 11It was :ref:`removed in Python 3.12 <whatsnew312-removed-imp>` after 12being deprecated in Python 3.4. 13 14The :ref:`removal notice <whatsnew312-removed-imp>` includes guidance for 15migrating code from :mod:`!imp` to :mod:`importlib`. 16 17The last version of Python that provided the :mod:`!imp` module was 18`Python 3.11 <https://docs.python.org/3.11/library/imp.html>`_. 19