Text of docs.python.org › pa › 3 › library › imp.html as Styx crawled it on Nov 19, 2026. The page may have changed since. Only its words are kept, without pictures or layout.

Open the live page

imp --- Access the import internals — Python 3.15.2 documentation

Navigation index modules | next | previous | Python » 3.15.2 documentation » The Python standard library » Removed Modules » imp --- Access the import internals | Theme | 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 was removed in Python 3.12 after being deprecated in Python 3.4. The removal notice includes guidance for migrating code from imp to importlib .

The last version of Python that provided the imp module was Python 3.11 . Previous topic imghdr --- Determine the type of an image Next topic mailcap --- Mailcap file handling This page Report a bug Improve this page Show source Show translation source « Navigation index modules | next | previous | Python » 3.15.2 documentation » The Python standard library » Removed Modules » imp --- Access the import internals | Theme | © Copyright 2001 Python Software Foundation.

This page is licensed under the Python Software Foundation License Version 2. Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License. See History and License for more information. The Python Software Foundation is a non-profit corporation. Please donate. Last updated on ਨਵੰ 19, 2026 (09:42 UTC). Found a bug ? Created using Sphinx 9.1.1.