Knowledge baseExam Center
ENEnglish
Choose language13

CKTIS / Knowledge base

Knowledge base

Programming syntax, operators and concepts. Find an explanation, explore an example and return to learning.

Entries: 5788

Python

itertools.zip_longest

Pairs parallel iterable positions until the longest input ends.

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

list.append

Appends one object at the end of a mutable list.

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

list.clear

Removes every element of a list in place.

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

list.copy

Creates a shallow copy of the list.

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

list.count

Counts elements that are the supplied object or compare equal to it.

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

list.extend

Adds successive members from an iterable to the end of a list.

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

list.index

Finds the first identical or equal element at or after the optional start index.

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

list.insert

Inserts an item before the requested position in a mutable list.

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

list.pop

Removes and returns the selected list element, defaulting to the last one.

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

list.remove

Removes the first element identical or equal to the supplied value.

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

list.reverse

Reverses the order of a list in place.

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

list.sort

Reorders a list in place according to the comparison keys.

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

logging.basicConfig

Configures the root logger and its output handlers for simple applications.

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

logging.critical

Emits a record with the critical severity for a serious application failure.

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

logging.debug

Emits a low-severity diagnostic record, subject to the active logger and handler thresholds.

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

logging.error

Logs an error-level record without automatically attaching current exception details.

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

logging.exception

Logs at error severity and includes the currently handled exception information.

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

logging.Formatter

Converts a log record into a line of text using declared record attributes.

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

logging.getLogger

Looks up the named logger in the logging registry of the current interpreter.

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

logging.info

Emits an informational record for normal application progress.

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

logging.INFO — informational level

logging.INFO is the constant 20, identifying events during normal program operation. Using it as a threshold admits INFO and higher levels, but excludes DEBUG.

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

logging.Logger

A logger receives messages, applies its threshold and sends accepted records to handlers.

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

LoggerAdapter.info — contextual logging

LoggerAdapter.info logs an INFO message with adapter context, such as a request identifier. Learn how default extra handling differs from merge_extra=True.

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