Python logo

Vorheriges Thema

codeop — Compile Python code

Nächstes Thema

zipimport — Import modules from Zip archives

Diese Seite

  • Report a Bug
  • Quellcode anzeigen
This document is for an old version of Python that is no longer supported. You should upgrade, and read the Python documentation for the current stable release.

Navigation

  • Index
  • Module |
  • weiter |
  • zurück |
  • Python logo
  • Python »
  • 3.10.22 Documentation »
  • The Python Standard Library »
  • Module importieren
  • |
  • |

Module importieren¶

Die in diesem Kapitel beschriebenen Module bieten neue Möglichkeiten, andere Python-Module zu importieren, sowie Hooks, mit denen sich der Importvorgang anpassen lässt.

Die vollständige Liste der in diesem Kapitel beschriebenen Module lautet:

  • zipimport — Import modules from Zip archives
    • zipimporter Objects
    • Beispiele
  • pkgutil — Package extension utility
  • modulefinder — Find modules used by a script
    • Beispielhafte Verwendung von ModuleFinder
  • runpy — Locating and executing Python modules
  • importlib — The implementation of import
    • Einführung
    • Funktionen
    • importlib.abc – Abstract base classes related to import
    • importlib.resources – Resources
    • importlib.machinery – Importers and path hooks
    • importlib.util – Utility code for importers
    • Beispiele
      • Importing programmatically
      • Checking if a module can be imported
      • Importing a source file directly
      • Implementing lazy imports
      • Setting up an importer
      • Approximating importlib.import_module()
  • Using importlib.metadata
    • Overview
    • Functional API
      • Entry points
      • Distribution metadata
      • Distribution versions
      • Distribution files
      • Distribution requirements
      • Package distributions
    • Distributions
    • Extending the search algorithm

Vorheriges Thema

codeop — Compile Python code

Nächstes Thema

zipimport — Import modules from Zip archives

Diese Seite

  • Report a Bug
  • Quellcode anzeigen

Navigation

  • Index
  • Module |
  • weiter |
  • zurück |
  • Python logo
  • Python »
  • 3.10.22 Documentation »
  • The Python Standard Library »
  • Module importieren
  • |
  • |
© Copyright 2001-2026, 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.

Zuletzt aktualisiert am Okt. 11, 2026. Found a bug?
Created using Sphinx 3.4.3.