python/docs/stdlib

stdlib

dz / python / docs / stdlib

Subgraphs

Node Tree

Nodes

filter
content filter(function, iterable): Construct an iterator from those elements of iterable for which function is true. iterable may be either a sequence, a container which supports iteration, or an iterator.
children python/docs/reference/expressions/lambda, map (map/filter pairing)
parents leetcode/problems/125_valid_palindrome, python/docs/stdlib
hyperlink https://docs.python.org/3/library/functions.html#filter
location knowledge/python.dz:95

map
content map(function, iterable, *iterables): Return an iterator that applies function to every item of iterable, yielding the results. If additional iterables arguments are passed, function must take that many arguments and is applied to the items from all iterables in parallel.
children python/docs/reference/expressions/lambda
parents leetcode/problems/125_valid_palindrome, python/docs/stdlib, filter
hyperlink https://docs.python.org/3/library/functions.html#map
location knowledge/python.dz:106

data_types
content Data types modules
children data_types/collections, data_types/heapq
parents python/docs/stdlib
hyperlink https://docs.python.org/3/library/datatypes.html
location knowledge/python.dz:153

int
content int() constructor base 2.
parents leetcode/problems/67_add_binary
remarks 2 args is base. int("11", 2) would be a value in binary,
hyperlink https://docs.python.org/3/library/functions.html#int
location knowledge/python.dz:203

bin
content bin(): convert an integer number to a binary string prefixed with "0b".
parents leetcode/problems/67_add_binary
hyperlink https://docs.python.org/3/library/functions.html#bin
location knowledge/python.dz:214

re
content re: regular expressions
children re/sub
parents python/docs/stdlib
hyperlink https://docs.python.org/3/library/re.html
location knowledge/python.dz:233

math
content math
children math/gcd
hyperlink https://docs.python.org/3/library/math.html
location knowledge/python.dz:246

functions
content Built-in functions
children functions/all
parents python/docs/stdlib
hyperlink https://docs.python.org/3/library/functions.html
location knowledge/python.dz:325

zip
content zip(): iterates over several objects in parallel, producing tuples with an item for each one.
children leetcode/problems/2542_maximum_subsequence_score (solution made used of zip to create sorted array)
parents python/docs/stdlib
hyperlink https://docs.python.org/3/library/functions.html#zip
location knowledge/python.dz:379

bisect
content bisect(): array bisection algorithm
children bisect/bisect_left, leetcode/problems/2300_successful_pairs_potions_spells (used in editorial solution)
parents leetcode/paradigms/binary_search, python/docs/stdlib
hyperlink https://docs.python.org/3/library/bisect.html
location knowledge/python.dz:385

functools
content functools: Higher-order functions and operations on callable objects
children functools/cache, functools/lru_cache
parents python/docs/stdlib
hyperlink https://docs.python.org/3/library/functools.html
location knowledge/python.dz:397

persistence
content Perstence: modules for storing data in a persistent form on disk.
children persistence/sqlite3
parents DDIA/glossary/durable
hyperlink https://docs.python.org/3/library/persistence.html
location knowledge/python.dz:420

netdata
content Internet Data
children netdata/json
parents python/docs/stdlib
hyperlink https://docs.python.org/3/library/netdata.html
location knowledge/python.dz:489

cli
content commandline interface libraries
parents python/docs/stdlib
hyperlink https://docs.python.org/3/library/cmdlinelibs.html
location knowledge/python.dz:513

2024-12-23 08:28 Getting my dagzet stuff working with link curation.

All I want to do at the moment is get an argument into my program ala argc/argv in C. The CLI stuff is a bit overkill, but nice to know it's included. sys.argv is what I wanted.
runtime
content Python runtime services
children runtime/sys
parents python/docs/stdlib
hyperlink https://docs.python.org/3/library/python.html
location knowledge/python.dz:518

internet
content Modules for internet protocols
children internet/http, internet/socketserver
parents python/docs/stdlib
hyperlink https://docs.python.org/3/library/internet.html
location knowledge/python.dz:555

os_services
content Generic operating system services
children os_services/os
parents python/docs/stdlib
hyperlink https://docs.python.org/3/library/allos.html
location knowledge/python.dz:601

concurrency
content Modules for concurrent execution of code
children concurrency/threading
parents python/docs/stdlib
hyperlink https://docs.python.org/3/library/concurrency.html
location knowledge/python.dz:645

exceptions
content Built-in Exceptions
children exceptions/KeyboardInterrupt
parents python/docs/stdlib
hyperlink https://docs.python.org/3/library/exceptions.html
location knowledge/python.dz:655