Python logo

Vorheriges Thema

codeop — Compile Python code

Nächstes Thema

zipimport — Import modules from Zip archives

Diese Seite

  • Fehler melden
  • Quelltext anzeigen
  • Quelltext der Übersetzung anzeigen

Navigation

  • Index
  • Module |
  • weiter |
  • zurück |
  • Python logo
  • Python »
  • 3.13.17 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 — Von einem Skript verwendete Module finden
    • 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.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()
  • importlib.resources – Package resource reading, opening and access
    • Functional API
  • importlib.resources.abc – Abstract base classes for resources
  • importlib.metadata – Accessing package metadata
    • Overview
    • Functional API
      • Entry points
      • Distribution metadata
      • Distribution versions
      • Distribution files
      • Distribution requirements
      • Mapping import to distribution packages
    • Distributions
    • Distribution Discovery
    • Extending the search algorithm
      • Example
  • The initialization of the sys.path module search path
    • Virtual environments
    • _pth files
    • Embedded Python

Vorheriges Thema

codeop — Compile Python code

Nächstes Thema

zipimport — Import modules from Zip archives

Diese Seite

  • Fehler melden
  • Quelltext anzeigen
  • Quelltext der Übersetzung anzeigen
«

Navigation

  • Index
  • Module |
  • weiter |
  • zurück |
  • Python logo
  • Python »
  • 3.13.17 Documentation »
  • The Python standard library »
  • Module importieren
  • |
  • |
© Copyright 2001-2026, Python Software Foundation.
Diese Seite ist unter der Python Software Foundation License Version 2 lizenziert.
Beispiele, Rezepte und anderer Code in der Dokumentation sind zusätzlich unter der Zero Clause BSD-Lizenz lizenziert.
Weitere Informationen finden Sie unter Verlauf und Lizenz.

Die Python Software Foundation ist eine gemeinnützige Organisation. Spenden Sie bitte.

Zuletzt aktualisiert am Okt. 22, 2026 (11:54 UTC). Fehler gefunden?
Erstellt mit Sphinx8.2.3.