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

logging.INFO — Informationsstufe

logging.INFO ist die Konstante 20 und kennzeichnet Ereignisse während des normalen Programmbetriebs. Als Schwellenwert lässt sie INFO und höhere Stufen zu, DEBUG jedoch nicht.

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

logging.Logger

Ein benannter Logger aus getLogger prüft vor der Weitergabe seine effektive Stufe und Filter.

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

LoggerAdapter.info — kontextbezogenes Logging

LoggerAdapter.info protokolliert eine INFO-Meldung mit Adapterkontext, etwa einer Anfrage-ID. Erfahre, worin sich das standardmäßige Verhalten von extra und merge_extra=True unterscheidet.

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

logging.StreamHandler

StreamHandler schreibt Text und Abschlusszeichen in den angegebenen Stream, standardmäßig sys.stderr, und ruft flush auf.

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

logging.warning

warning protokolliert am Root-Logger eine Warnung der Stufe WARNING (30).

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

math.ceil

Liefert die kleinste ganze Zahl, die mindestens x beträgt.

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

math.comb

Zählt Auswahlen von k aus n Positionen ohne Zurücklegen und ohne Beachtung der Reihenfolge.

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

math.cos

Berechnet den Kosinus eines Radiantwinkels als horizontale Koordinate am Einheitskreis.

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

math.e

Liefert eine Gleitkommanäherung der Eulerschen Zahl, der Basis des natürlichen Logarithmus.

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

math.factorial

Berechnet die Fakultät einer nichtnegativen ganzen Zahl.

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

math.floor

Liefert die größte ganze Zahl, die x nicht überschreitet.

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

math.fsum

Addiert Gleitkommazahlen mit mehreren Teilsummen.

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

math.gcd

Liefert den nichtnegativen größten gemeinsamen Teiler beliebig vieler ganzer Zahlen.

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

math.inf

Bezeichnet die positive Unendlichkeit als float.

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

math.isclose

Prüft, ob die absolute Differenz innerhalb der größeren Grenze liegt: absolute Toleranz oder relative Toleranz mal größerem Betrag.

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

math.isfinite

Erkennt endliche Zahlen einschließlich beider vorzeichenbehafteter Nullen.

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

math.isinf

Erkennt genau positive und negative Unendlichkeit.

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

math.isnan

Liefert einen booleschen Wert dafür, ob das Argument NaN ist.

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

math.lcm

Berechnet das nichtnegative kleinste gemeinsame Vielfache ganzer Zahlen.

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

math.log

Bestimmt den Exponenten, mit dem die Basis potenziert x ergibt.

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

math.log10

Berechnet den Zehnerlogarithmus zum Vergleich von Größenordnungen.

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

math.log2

Liefert den Exponenten der zu x gehörenden Zweierpotenz.

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

math.nan

Liefert den speziellen float-Wert für ein fehlendes numerisches Ergebnis.

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

math.perm

Zählt geordnete Auswahlen von k aus n Positionen ohne Wiederholung.

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