~/talk

The Standard Library Tour

Talkat PyCon UK 2023 · on Sunday, 2023-09-24· at 14:30· Assembly Room· [python]
slides:none on file

Shows live examples that replace ad hoc code: demos of functools.single_dispatch and functools.partial for cleaner overloads, and using functools.cache/lru_cache to speed a Fibonacci demo; itertools.product, filterfalse, zip_longest for iterator work; collections.ChainMap vs merging dicts and defaultdict for grouping; doctest.testmod for tiny tests, difflib and filecmp for comparisons, and contextlib's sync and async contextmanager utilities. Practical snippets, measurable speedups, and when each tool is the right fit.

AI-written summary · about

  1. 0:00Start
  2. 1:44What is the standard library?
  3. 16:17Testing
  4. 17:47Comparing sequences
  5. 20:23Context manager
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.