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

collections.OrderedDict

Bewahrt die Schlüsselreihenfolge und erlaubt das Verschieben vorhandener Einträge.

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

contextlib.AbstractContextManager

Die Basisklasse für synchrones with liefert ein `__enter__`, das den Manager zurückgibt.

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

contextlib.aclosing

Umgibt ein Objekt mit aclose() durch einen async-with-Bereich.

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

contextlib.asynccontextmanager

Macht aus einer asynchronen Generatorfunktion eine Fabrik für async with.

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

contextlib.AsyncExitStack

Sammelt synchrone und asynchrone Aufräumaktionen auf einem LIFO-Stapel.

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

contextlib.closing

Ermöglicht with für Ressourcen mit synchronem close().

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

contextlib.ContextDecorator

Erlaubt einen Manager mit `__enter__` und `__exit__` als Funktionsdekorator.

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

contextlib.contextmanager

Dekoriert eine Generatorfunktion mit genau einem yield als Fabrik für einmalige with-Manager.

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

contextlib.ExitStack

Verwaltet eine zur Laufzeit gewählte Zahl von Ressourcen.

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

contextlib.nullcontext

Vertritt einen optionalen Kontextmanager und liefert beim Eintritt enter_result, standardmäßig None.

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

contextlib.redirect_stderr

Bindet sys.stderr vorübergehend an ein beschreibbares Ziel und liefert es über as.

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

contextlib.redirect_stdout

Fängt print durch vorübergehenden Austausch von sys.stdout ab.

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

contextlib.suppress

Unterdrückt Ausnahmen der angegebenen Klassen und Unterklassen, danach geht es hinter dem Block weiter.

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

cProfile.Profile

Ein Profile-Objekt sammelt Aufrufstatistiken, während runcall das normale Funktionsergebnis liefert.

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

cProfile.run

run profiliert Anweisungen im Namensraum des Hauptmoduls.

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

cProfile.runctx

runctx profiliert Anweisungen mit einem globalen Wörterbuch und einer lokalen Namenszuordnung.

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

csv.Dialect

Bündelt CSV-Optionen in einem wiederverwendbaren Dialekt für Leser und Schreiber.

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

csv.DictReader

Liest Datensätze als Wörterbücher in Spaltenreihenfolge.

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

csv.DictWriter

Schreibt Wörterbücher in einen Textstrom in der Reihenfolge der erforderlichen fieldnames.

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

csv.reader

Liest eine Folge von Textzeilen und liefert nacheinander Feldlisten.

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

csv.Sniffer

Ermittelt den Dialekt aus einer repräsentativen Textprobe.

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

csv.writer

Schreibt Feldzeilen in einen Textstrom mit write().

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

dataclasses.asdict

Wandelt eine Datenklasseninstanz mit dict_factory in Feldnamen und Werte um.

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