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

heapq.merge

Führt sortierte Quellen zu einem Iterator zusammen und liest nach Bedarf.

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

heapq.nlargest

Wählt bis zu n Eingabeelemente absteigend nach Schlüssel für eine Rangliste.

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

heapq.nsmallest

Liefert bis zu n ursprüngliche Elemente aufsteigend nach key, etwa die günstigsten Angebote.

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

io.BufferedIOBase

Die Basisklasse beschreibt gepufferte Binärströme.

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

io.BytesIO

BytesIO hält Binärdaten im Speicher, anfangs steht der Cursor auf null.

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

io.StringIO

StringIO speichert Unicode-Text im Speicher und nimmt beim Schreiben str entgegen.

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

io.TextIOBase

TextIOBase definiert die Schnittstelle für Textströme mit str.

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

iterator.__next__

Die Iteratormethode liefert das nächste Element und löst am Ende StopIteration aus.

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

itertools.accumulate

Erzeugt einen Iterator der laufenden Ergebnisse einer zweistelligen Funktion.

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

itertools.batched

Liest aufeinanderfolgende Elemente in Tupel der Größe n, wobei n mindestens 1 sein muss.

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

itertools.chain

Verkettet die Eingaben zu einem Iterator und verbraucht die einzelnen Argumente nacheinander.

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

itertools.combinations

Wählt r verschiedene Positionen in ihrer Eingabereihenfolge.

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

itertools.combinations_with_replacement

Wählt r Positionen mit nicht fallenden Indizes und erlaubt die Wiederwahl derselben Position.

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

itertools.compress

Wählt Datenelemente mit wahrheitswertigem Selektor.

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

itertools.count

Erzeugt einen unendlichen Zahleniterator ab start mit Zuwachs step.

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

itertools.cycle

Gibt im ersten Durchlauf jedes Element aus und speichert es.

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

itertools.dropwhile

Überspringt die anfänglichen Elemente mit wahrem Prädikat.

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

itertools.filterfalse

Wählt ursprüngliche Elemente, deren Prädikatergebnis als falsch gilt.

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

itertools.groupby

Gruppiert benachbarte Elemente mit gleichem Schlüssel und liefert Schlüssel plus Gruppeniterator.

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

itertools.islice

Wählt Positionen eines Iterators verzögert aus.

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

itertools.pairwise

Bildet Paare aus benachbarten Elementen.

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

itertools.permutations

Erzeugt geordnete Tupel ohne Wiederverwendung derselben Position.

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

itertools.product

Bildet das kartesische Produkt mit einem Element je Eingabe.

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

itertools.repeat

Liefert bei jedem Abruf dasselbe Objekt.

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