Base de conocimientosCentro de exámenes
ESEspañol
Elegir idioma13

CKTIS / Python

Base de conocimientos — Python

Sintaxis, operadores y conceptos de programación. Encuentra una explicación, consulta un ejemplo y sigue aprendiendo.

Entradas: 583

Python

Palabra clave try

Protege un bloque con manejadores de excepciones o añade limpieza con finally.

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

Palabra clave while

Prueba la condición antes de cada iteración, incluida la primera.

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

Palabra clave with

Entra en el contexto y vincula opcionalmente el resultado de `__enter__` al destino de as.

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

Palabra clave yield

En una definición de función ordinaria, yield hace que la llamada cree un generador sin ejecutar enseguida el cuerpo.

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

abc — clases base abstractas

El módulo abc permite definir clases base abstractas y marcar métodos como abstractos.

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

Módulo asyncio

Coordina la entrada y salida asíncrona mediante un bucle de eventos, corrutinas y tareas.

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

Módulo collections

Ofrece contenedores especializados como Counter, deque y defaultdict.

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

Módulo contextlib

Crea y combina gestores de contexto para recursos de duración acotada.

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

Módulo cProfile

Perfila el código registrando llamadas, recuentos y tiempos.

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

Módulo csv

Lee y escribe campos delimitados según un dialecto de separadores, comillas y finales de línea.

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

Módulo dataclasses

Genera inicialización, representación e igualdad a partir de los campos declarados.

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

Módulo datetime

Proporciona fechas, horas, marcas temporales y duraciones.

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

decimal — aritmética decimal

El módulo decimal proporciona Decimal para realizar cálculos decimales con control explícito de la precisión y el redondeo, algo útil, entre otros casos, para importes monetarios.

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

Módulo functools

Transforma invocables mediante aplicación parcial, envoltorios y memorización.

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

Módulo heapq

Mantiene un montículo binario en una lista para colas de prioridad.

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

Módulo io

Ofrece flujos sin procesar, binarios con búfer y de texto, incluso en memoria.

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

Módulo itertools

Combina iteradores para transformaciones perezosas, agrupación y combinatoria.

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

Módulo logging

Dirige registros con gravedad desde registradores con nombre a manejadores y formateadores.

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

Módulo math

Proporciona funciones reales, constantes y operaciones enteras exactas.

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

pstats — analizar los resultados del perfilado

El módulo pstats analiza datos de cProfile o profile: ordena las estadísticas de las funciones y genera informes que ayudan a localizar las partes costosas de un programa.

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

Módulo re

Compila expresiones regulares para buscar, hacer coincidir, extraer o sustituir texto.

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

sys — acceso al intérprete de Python

El módulo sys proporciona parámetros del intérprete, argumentos del programa, flujos estándar y una función que señala la terminación del programa.

Básico · Python 3.14; repository image, production runtime not attested
Python

Módulo timeit

Mide instrucciones o funciones pequeñas en series repetidas.

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

Módulo typing

Describe relaciones de tipos con anotaciones, uniones, genéricos y protocolos y expone metadatos en ejecución.

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