KennisbankExamencentrum
NL · NLNederlands (Nederland)
Taal kiezen13

CKTIS / Python

Kennisbank — Python

Syntax, operatoren en programmeerconcepten. Zoek een uitleg, bekijk een voorbeeld en leer verder.

Artikelen: 583

Python

Sleutelwoord try

Beschermt een blok met uitzonderingshandlers of voegt opruimcode met finally toe.

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

Sleutelwoord while

Test de voorwaarde vóór elke iteratie inclusief de eerste.

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

Sleutelwoord with

Betreedt de context en bindt desgewenst het resultaat van `__enter__` aan het doel achter as.

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

Sleutelwoord yield

In een gewone functiedefinitie zorgt yield dat de aanroep een generator maakt zonder de inhoud meteen uit te voeren.

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

abc — abstracte basisklassen

Met de module abc kun je abstracte basisklassen definiëren en methoden als abstract markeren.

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

Module asyncio

Coördineert asynchrone invoer en uitvoer met een gebeurtenislus, coroutines en taken.

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

Module collections

Biedt gespecialiseerde containers zoals Counter, deque en defaultdict.

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

Module contextlib

Maakt en combineert contextbeheerders voor de gebruiksduur van bronnen.

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

Module cProfile

Profileert code door aanroepen, aantallen en tijden te registreren.

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

Module csv

Leest en schrijft gescheiden velden met een dialect voor scheidingstekens, aanhalingstekens en regeleinden.

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

Module dataclasses

Genereert initialisatie, weergave en gelijkheid uit de gedeclareerde velden.

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

Module datetime

Biedt datums, tijden, tijdstempels en tijdsduren.

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

decimal — decimale rekenkunde

De module decimal biedt Decimal voor decimale berekeningen met expliciete controle over precisie en afronding, bijvoorbeeld voor geldbedragen.

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

Module functools

Transformeert aanroepbare objecten door gedeeltelijke toepassing, omhulling en opslag van resultaten.

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

Module heapq

Onderhoudt een binaire heap in een lijst voor prioriteitswachtrijen.

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

Module io

Biedt ruwe, gebufferde binaire en tekststromen, ook in het geheugen.

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

Module itertools

Combineert iteratoren voor luie transformaties, groepering en combinatoriek.

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

Module logging

Stuurt berichten met ernstniveau van benoemde loggers naar handlers en formatters.

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

Module math

Biedt reële wiskundige functies, constanten en exacte bewerkingen op gehele getallen.

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

pstats — profileresultaten analyseren

De module pstats analyseert gegevens uit cProfile of profile: de module sorteert functiestatistieken en maakt rapporten waarmee je de kostbare onderdelen van een programma kunt vinden.

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

Module re

Compileert reguliere expressies voor zoeken, toetsen, extraheren en vervangen van tekst.

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

sys — toegang tot de Python-interpreter

De module sys biedt interpreterparameters, programmaargumenten, standaardstromen en een functie die het beëindigen van een programma aangeeft.

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

Module timeit

Meet korte instructies of functies in herhaalde reeksen.

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

Module typing

Beschrijft typeverbanden met annotaties, unies, generieken en protocollen en ontsluit hun metagegevens tijdens uitvoering.

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