Znalostná bázaCentrum skúšok
SKSlovenčina
Vybrať jazyk13

CKTIS / Python

Znalostná báza — Python

Syntax, operátory a pojmy programovania. Nájdi vysvetlenie, prezri si príklad a pokračuj v učení.

Počet hesiel: 583

Python

heapq.merge

Zlúči zoradené zdroje do jedného iterátora a číta údaje podľa potreby.

Stredne pokročilá · Python 3.14; repository image, production runtime not attested
Python

heapq.nlargest

Vyberie najviac n pôvodných prvkov zostupne podľa kľúča napríklad pre rebríček.

Stredne pokročilá · Python 3.14; repository image, production runtime not attested
Python

heapq.nsmallest

Vráti najviac n pôvodných prvkov vzostupne podľa kľúča, napríklad najlacnejšie ponuky.

Stredne pokročilá · Python 3.14; repository image, production runtime not attested
Python

io.BufferedIOBase

Základná trieda opisuje binárne prúdy s vyrovnávacou pamäťou.

Stredne pokročilá · Python 3.14; repository image, production runtime not attested
Python

io.BytesIO

BytesIO uchováva binárne dáta v pamäti s kurzorom spočiatku na nule.

Stredne pokročilá · Python 3.14; repository image, production runtime not attested
Python

io.StringIO

StringIO uchováva text Unicode v pamäti a pri zápise prijíma str.

Stredne pokročilá · Python 3.14; repository image, production runtime not attested
Python

io.TextIOBase

TextIOBase definuje rozhranie textových prúdov pracujúcich s typom str.

Stredne pokročilá · Python 3.14; repository image, production runtime not attested
Python

iterator.__next__

Metóda iterátora vráti ďalší prvok a po vyčerpaní vyvolá StopIteration.

Stredne pokročilá · Python 3.14; repository image, production runtime not attested
Python

itertools.accumulate

Vytvorí iterátor priebežných výsledkov dvojargumentovej funkcie.

Stredne pokročilá · Python 3.14; repository image, production runtime not attested
Python

itertools.batched

Číta za sebou idúce prvky do n-tíc veľkosti n, pričom n musí byť aspoň 1.

Stredne pokročilá · Python 3.14; repository image, production runtime not attested
Python

itertools.chain

Spojí vstupy do iterátora, ktorý postupne vyčerpá jednotlivé argumenty.

Stredne pokročilá · Python 3.14; repository image, production runtime not attested
Python

itertools.combinations

Vyberá r rôznych pozícií v ich vstupnom poradí.

Stredne pokročilá · Python 3.14; repository image, production runtime not attested
Python

itertools.combinations_with_replacement

Vyberie r pozícií s neklesajúcimi indexmi a umožní zopakovať rovnakú pozíciu.

Stredne pokročilá · Python 3.14; repository image, production runtime not attested
Python

itertools.compress

Vyberie údaje spárované so selektorom s pravdivou hodnotou.

Stredne pokročilá · Python 3.14; repository image, production runtime not attested
Python

itertools.count

Vytvorí nekonečný číselný iterátor od start s prírastkom step.

Stredne pokročilá · Python 3.14; repository image, production runtime not attested
Python

itertools.cycle

Pri prvom prechode každý prvok vydá a uloží.

Stredne pokročilá · Python 3.14; repository image, production runtime not attested
Python

itertools.dropwhile

Preskočí počiatočné prvky, pre ktoré je predikát pravdivý.

Stredne pokročilá · Python 3.14; repository image, production runtime not attested
Python

itertools.filterfalse

Vyberá pôvodné prvky s nepravdivým výsledkom predikátu.

Stredne pokročilá · Python 3.14; repository image, production runtime not attested
Python

itertools.groupby

Zoskupí susedné prvky s rovnakým kľúčom a vydá kľúč s iterátorom skupiny.

Stredne pokročilá · Python 3.14; repository image, production runtime not attested
Python

itertools.islice

Lenivo vyberá pozície iterátora.

Stredne pokročilá · Python 3.14; repository image, production runtime not attested
Python

itertools.pairwise

Tvorí dvojice susedných prvkov.

Stredne pokročilá · Python 3.14; repository image, production runtime not attested
Python

itertools.permutations

Vytvára usporiadané n-tice bez opätovného použitia tej istej pozície.

Stredne pokročilá · Python 3.14; repository image, production runtime not attested
Python

itertools.product

Vytvorí karteziánsky súčin s jedným prvkom z každého vstupu.

Stredne pokročilá · Python 3.14; repository image, production runtime not attested
Python

itertools.repeat

Pri každom odbere vráti ten istý objekt.

Stredne pokročilá · Python 3.14; repository image, production runtime not attested