itertools.compress()
  • References/Python/Python/Functional Programming

itertools.compress(data, selectors) Make an iterator that filters elements from data returning only those that have

2025-01-10 15:47:30
cmd.Cmd.onecmd()
  • References/Python/Python/Frameworks

Cmd.onecmd(str) Interpret the argument as though it had been typed in response to the prompt. This may be overridden, but should

2025-01-10 15:47:30
logging.Filter.filter()
  • References/Python/Python/Logging

filter(record) Is the specified record to be logged? Returns zero for no, nonzero for yes. If deemed appropriate, the record

2025-01-10 15:47:30
curses.window.attron()
  • References/Python/Python/Operating System

window.attron(attr) Add attribute attr from the “background” set applied to all writes to the current window.

2025-01-10 15:47:30
tracemalloc.Snapshot.load()
  • References/Python/Python/Debugging & Profiling

classmethod load(filename) Load a snapshot from a file. See also dump().

2025-01-10 15:47:30
typing.MutableSet
  • References/Python/Python/Development Tools

class typing.MutableSet(AbstractSet[T]) A generic version of

2025-01-10 15:47:30
multiprocessing.pool.Pool.imap()
  • References/Python/Python/Concurrent Execution

imap(func, iterable[, chunksize]) A lazier version of

2025-01-10 15:47:30
ctypes.PYFUNCTYPE()
  • References/Python/Python/Operating System

ctypes.PYFUNCTYPE(restype, *argtypes) The returned function prototype creates functions that use the Python calling convention

2025-01-10 15:47:30
array.array.insert()
  • References/Python/Python/Data Types

array.insert(i, x) Insert a new item with value x in the array before position i. Negative values are treated

2025-01-10 15:47:30
bdb.Breakpoint.disable()
  • References/Python/Python/Debugging & Profiling

disable() Mark the breakpoint as disabled.

2025-01-10 15:47:30