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

itertools.starmap

Desempaqueta cada fila en argumentos posicionales de la función al leer.

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

itertools.takewhile

Emite los elementos iniciales mientras el predicado sea verdadero.

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

itertools.tee

Crea por defecto dos iteradores con posiciones independientes sobre una fuente.

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

itertools.zip_longest

Empareja posiciones correspondientes hasta agotar la entrada más larga.

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

list.append

Añade exactamente un objeto al final de la lista existente.

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

list.clear

Elimina todos los elementos de la lista existente y devuelve None.

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

list.copy

Crea una copia superficial, una lista nueva con referencias a los mismos elementos.

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

list.count

Cuenta los elementos que son el mismo objeto que el buscado o que son iguales a él.

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

list.extend

Añade sucesivamente los elementos de un iterable a la lista existente.

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

list.index

Devuelve el índice desde cero del primer elemento igual; start y stop opcionales limitan la búsqueda sin incluir stop.

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

list.insert

Inserta antes de la posición elegida y ajusta índices extremos a posiciones de inserción disponibles.

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

list.pop

Quita y devuelve el elemento indexado.

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

list.remove

Elimina el primer elemento que sea el mismo objeto que el buscado o que sea igual a él.

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

list.reverse

Invierte las posiciones en la lista existente sin comparar elementos.

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

list.sort

Ordena la lista en el propio objeto y devuelve None.

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

logging.basicConfig

basicConfig fija con level el umbral del registrador raíz y configura el flujo y el formato de salida.

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

logging.critical

critical envía al registrador raíz un evento de nivel CRITICAL con valor 50.

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

logging.debug

debug envía diagnósticos de nivel DEBUG (10) al registrador raíz.

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

logging.error

error envía al registrador raíz un evento de nivel ERROR (40).

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

logging.exception

exception registra un evento ERROR con exc_info=True por defecto.

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

logging.Formatter

Formatter reúne atributos del registro como levelname y message en un texto.

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

logging.getLogger

getLogger devuelve el mismo registrador para un nombre en el intérprete y la raíz si se omite el nombre.

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

logging.info

info registra el progreso normal en el nivel INFO (20).

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