DAGDA SEARCH | Back to results | Support

imp — Access the import internals — Python 3.16.0a2 documentation

Source: https://docs.python.org/dev/library/imp.html

Navigation

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

«

Navigation

© 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 Nov 29, 2026 (04:54 UTC). Found a bug?
Created using Sphinx 9.1.1.