WissensdatenbankPrüfungszentrum
DEDeutsch
Sprache wählen13

CKTIS / Wissensdatenbank

Wissensdatenbank

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

Einträge: 5788

Python

property()

Beim Lesen von box.area läuft der Getter mit der Instanz self und liefert 3 · 4 = 12.

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

repr()

Liefert über `__repr__` einen Text zur Inspektion.

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

reversed()

Erzeugt einen rückwärts laufenden Iterator über `__reversed__` oder Länge und Indizierung der Sequenz.

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

round()

Rundet eine Zahl auf die angegebene Dezimalstelle.

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

set()

Erstellt eine veränderliche Menge hashbarer Elemente.

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

setattr()

Setzt das per Zeichenkette benannte Attribut und liefert None.

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

slice()

Speichert Start, ausgeschlossene Endgrenze und Schritt für einen späteren Ausschnitt.

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

sorted()

Liefert eine neue Liste, geordnet mit Kleiner-als-Vergleichen.

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

staticmethod()

Stellt eine Funktion im Namensraum der Klasse bereit, ohne automatisch self oder cls einzusetzen.

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

str: die Textdarstellung eines Objekts

str erzeugt eine Unicode-Zeichenkette. Eine Zahl in Text umzuwandeln führt keine Rechnung aus; für Bytes ist eine bewusste Wahl der Zeichencodierung erforderlich.

Grundlagen · Python 3.14
Python

sum()

Addiert die Elemente mit start als anfänglichem Summanden.

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

super()

Erzeugt ein Proxyobjekt, das hinter der aktuellen Klasse in der Methodenauflösungsreihenfolge des Empfängers sucht.

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

tuple()

Erstellt aus einem iterierbaren Objekt ein unveränderliches geordnetes Tupel.

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

type()

Liefert mit einem Argument den tatsächlichen Typ des Objekts.

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

vars()

Mit Argument liest es das `__dict__` des Objekts.

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

zip()

Paart entsprechende Elemente während der Iteration zu Tupeln.

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

Schlüsselwort as

Bindet je nach Anweisung einen Namen.

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

Schlüsselwort assert

Prüft bei wahrem `__debug__` eine Invariante zur Fehlersuche.

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

Schlüsselwort async

Eine async-def-Definition ohne yield erzeugt eine Koroutinenfunktion, deren Aufruf ein Koroutinenobjekt liefert, ohne den Rumpf auszuführen.

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

Schlüsselwort await

Empfängt in einer Koroutine oder einem asynchronen Generator das Ergebnis oder die Ausnahme eines Awaitable.

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

Schlüsselwort break

Verlässt die innerste Schleife und überspringt deren else-Block.

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

Schlüsselwort case

Wählt einen match-Zweig durch Muster und danach optionale Schutzbedingung.

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

Schlüsselwort class

Der Klassenrumpf läuft sofort in einem eigenen Namensraum, und der Name erhält das Ergebnis der Dekoratoren, die das Klassenobjekt ersetzen können.

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