WissensdatenbankPrüfungszentrum
DEDeutsch
Sprache wählen13

CKTIS / Python

Wissensdatenbank — Python

Syntax, Operatoren und Programmierkonzepte. Finde eine Erklärung, sieh dir ein Beispiel an und lerne weiter.

Einträge: 583

Python

Schlüsselwort try

Schützt einen Block durch Ausnahmebehandlung oder fügt Bereinigung mit finally hinzu.

Mittlere Stufe · Python 3.14; repository image, production runtime not attested
Python

Schlüsselwort while

Prüft die Bedingung vor jedem Durchlauf einschließlich des ersten.

Mittlere Stufe · Python 3.14; repository image, production runtime not attested
Python

Schlüsselwort with

Tritt in den Kontext ein und bindet das Ergebnis von `__enter__` optional an das Ziel nach as.

Mittlere Stufe · Python 3.14; repository image, production runtime not attested
Python

Schlüsselwort yield

In einer gewöhnlichen Funktionsdefinition bewirkt yield, dass der Aufruf einen Generator erzeugt, ohne den Rumpf sofort auszuführen.

Mittlere Stufe · Python 3.14; repository image, production runtime not attested
Python

abc — abstrakte Basisklassen

Mit dem Modul abc lassen sich abstrakte Basisklassen definieren und Methoden als abstrakt markieren.

Mittlere Stufe · Python 3.14; repository image, production runtime not attested
Python

Modul asyncio

Koordiniert asynchrone Ein- und Ausgabe über Ereignisschleife, Koroutinen und Tasks.

Mittlere Stufe · Python 3.14; repository image, production runtime not attested
Python

Modul collections

Bietet spezialisierte Container wie Counter, deque und defaultdict.

Mittlere Stufe · Python 3.14; repository image, production runtime not attested
Python

Modul contextlib

Erstellt und kombiniert Kontextmanager für die Lebensdauer von Ressourcen.

Mittlere Stufe · Python 3.14; repository image, production runtime not attested
Python

Modul cProfile

Erfasst bei der Profilerstellung Funktionsaufrufe, ihre Anzahl und Laufzeiten.

Mittlere Stufe · Python 3.14; repository image, production runtime not attested
Python

Modul csv

Liest und schreibt getrennte Felder anhand eines Dialekts für Trennzeichen, Anführung und Zeilenenden.

Mittlere Stufe · Python 3.14; repository image, production runtime not attested
Python

Modul dataclasses

Erzeugt aus Klassenfeldern unter anderem Initialisierung, Darstellung und Gleichheitsvergleich.

Mittlere Stufe · Python 3.14; repository image, production runtime not attested
Python

Modul datetime

Stellt Daten, Uhrzeiten, Zeitstempel und Zeitspannen bereit.

Mittlere Stufe · Python 3.14; repository image, production runtime not attested
Python

decimal — Dezimalarithmetik

Das Modul decimal stellt Decimal für Dezimalberechnungen mit gezielter Kontrolle über Präzision und Rundung bereit. Es eignet sich unter anderem für Geldbeträge.

Mittlere Stufe · Python 3.14; repository image, production runtime not attested
Python

Modul functools

Transformiert aufrufbare Objekte durch Teilanwendung, Umhüllung und Zwischenspeicherung.

Mittlere Stufe · Python 3.14; repository image, production runtime not attested
Python

Modul heapq

Verwaltet einen binären Heap in einer Liste für Prioritätswarteschlangen.

Mittlere Stufe · Python 3.14; repository image, production runtime not attested
Python

Modul io

Bietet rohe, gepufferte binäre und Textströme, auch im Speicher.

Mittlere Stufe · Python 3.14; repository image, production runtime not attested
Python

Modul itertools

Kombiniert Iteratoren für verzögerte Transformation, Gruppierung und Kombinatorik.

Mittlere Stufe · Python 3.14; repository image, production runtime not attested
Python

Modul logging

Leitet Meldungen mit Schweregrad von benannten Loggern an Handler und Formatierer.

Mittlere Stufe · Python 3.14; repository image, production runtime not attested
Python

Modul math

Bietet reelle Funktionen, Konstanten und exakte Ganzzahloperationen.

Mittlere Stufe · Python 3.14; repository image, production runtime not attested
Python

pstats — Profilergebnisse analysieren

Das Modul pstats analysiert Daten aus cProfile oder profile: Es sortiert Funktionsstatistiken und erstellt Berichte, die dabei helfen, aufwendige Programmteile zu finden.

Mittlere Stufe · Python 3.14; repository image, production runtime not attested
Python

Modul re

Kompiliert reguläre Ausdrücke zum Suchen, Abgleichen, Extrahieren und Ersetzen von Text.

Mittlere Stufe · Python 3.14; repository image, production runtime not attested
Python

sys — Zugriff auf den Python-Interpreter

Das Modul sys stellt Interpreterparameter, Programmargumente, Standarddatenströme sowie eine Funktion bereit, die das Beenden eines Programms signalisiert.

Grundlagen · Python 3.14; repository image, production runtime not attested
Python

Modul timeit

Misst kleine Anweisungen oder Funktionen in wiederholten Serien.

Mittlere Stufe · Python 3.14; repository image, production runtime not attested
Python

Modul typing

Beschreibt Typbeziehungen durch Annotationen, Vereinigungen, Generika und Protokolle und liefert Metadaten zur Laufzeit.

Mittlere Stufe · Python 3.14; repository image, production runtime not attested