Baza znanjaCentar za ispite
HRHrvatski
Odaberi jezik13

CKTIS / Python

Baza znanja — Python

Sintaksa, operatori i pojmovi programiranja. Pronađi objašnjenje, pogledaj primjer i nastavi učiti.

Broj pojmova: 583

Python

itertools.starmap

Pri dohvaćanju raspakira svaki redak u položajne argumente funkcije.

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

itertools.takewhile

Vraća početne elemente dok je predikat istinit.

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

itertools.tee

Zadano stvara dva iteratora s neovisnim položajima nad jednim izvorom.

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

itertools.zip_longest

Uparuje odgovarajuće položaje do iscrpljivanja najduljeg ulaza.

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

list.append

Dodaje točno jedan objekt na kraj postojeće liste.

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

list.clear

Uklanja sve elemente postojeće liste i vraća None.

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

list.copy

Stvara plitku kopiju, odnosno novu listu s referencama na iste elemente.

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

list.count

Broji elemente koji su isti objekt kao traženi ili su mu jednaki.

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

list.extend

Redom dodaje elemente iterabilnog objekta u postojeću listu.

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

list.index

Vraća indeks od nule prvog jednakog elementa; neobvezni start i stop ograničavaju traženje, bez položaja stop.

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

list.insert

Umeće prije odabranog položaja i krajnje indekse prilagođava dostupnim mjestima umetanja.

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

list.pop

Uklanja i vraća element na indeksu.

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

list.remove

Uklanja prvi element koji je isti objekt kao traženi ili je s njim jednak.

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

list.reverse

Obrće položaje u postojećoj listi bez usporedbe elemenata.

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

list.sort

Sortira listu na mjestu i vraća None.

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

logging.basicConfig

basicConfig s pomoću level postavlja prag korijenskog zapisivača te određuje tok i format ispisa.

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

logging.critical

critical šalje korijenskom zapisivaču događaj razine CRITICAL s brojem 50.

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

logging.debug

debug šalje dijagnostiku razine DEBUG (10) korijenskom zapisivaču.

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

logging.error

error šalje korijenskom zapisivaču događaj razine ERROR (40).

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

logging.exception

exception zapisuje događaj ERROR s postavkom exc_info=True prema zadanim postavkama.

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

logging.Formatter

Formatter sastavlja tekst od atributa zapisa poput levelname i message.

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

logging.getLogger

getLogger vraća isti zapisivač za isto ime u interpreteru, a bez imena korijenski zapisivač.

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

logging.info

info bilježi uobičajeni napredak na razini INFO (20).

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