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

itertools.starmap

Entpackt beim Abruf jede Zeile in Positionsargumente der Funktion.

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

itertools.takewhile

Liefert die Anfangselemente, solange das Prädikat wahr ist.

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

itertools.tee

Erzeugt standardmäßig zwei Iteratoren mit getrennten Positionen auf einer Quelle.

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

itertools.zip_longest

Paart entsprechende Positionen bis zum Ende der längsten Eingabe.

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

list.append

Fügt genau ein Objekt ans Ende der bestehenden Liste an.

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

list.clear

Entfernt alle Elemente aus der bestehenden Liste und liefert None.

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

list.copy

Erzeugt eine flache Kopie, also eine neue Liste mit Referenzen auf dieselben Elemente.

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

list.count

Zählt Elemente, die mit dem Suchobjekt identisch oder ihm gleich sind.

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

list.extend

Übernimmt nacheinander die Elemente eines Iterierbaren in die bestehende Liste.

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

list.index

Liefert den nullbasierten Index des ersten gleichen Elements; optionale Grenzen start und stop schränken die Suche ein, stop ist ausgeschlossen.

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

list.insert

Fügt vor der gewählten Position ein und begrenzt extreme Indizes auf verfügbare Einfügestellen.

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

list.pop

Entfernt das indizierte Element und gibt es zurück.

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

list.remove

Entfernt das erste Element, das mit dem Suchobjekt identisch oder ihm gleich ist.

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

list.reverse

Kehrt die Positionen in der vorhandenen Liste ohne Elementvergleiche um.

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

list.sort

Sortiert die Liste direkt und liefert None.

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

logging.basicConfig

basicConfig setzt mit level die Schwelle des Root-Loggers sowie Stream und Format der Ausgabe.

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

logging.critical

critical meldet dem Root-Logger ein Ereignis der Stufe CRITICAL mit dem Wert 50.

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

logging.debug

debug sendet Diagnosedaten der Stufe DEBUG (10) an den Root-Logger.

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

logging.error

error meldet dem Root-Logger ein Ereignis der Stufe ERROR (40).

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

logging.exception

exception protokolliert ein ERROR-Ereignis mit standardmäßig aktivem exc_info=True.

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

logging.Formatter

Formatter setzt Attribute des Eintrags wie levelname und message zu Text zusammen.

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

logging.getLogger

getLogger liefert im Interpreter für denselben Namen dasselbe Objekt und ohne Namen den Root-Logger.

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

logging.info

info protokolliert normalen Arbeitsfortschritt auf Stufe INFO (20).

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