Knowledge baseExam Center
ENEnglish
Choose language13

CKTIS / Python

Knowledge base — Python

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

Entries: 583

Python

itertools.starmap

Unpacks each input row into positional arguments for a function.

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

itertools.takewhile

Yields consecutive input items while a predicate holds.

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

itertools.tee

Creates independent iterators over a single underlying input.

Intermediate · Python 3.14; repository image, production runtime not attested
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