~/talk

Introducing More of the Standard Library

Talkat PyData London 2022 · 2022-06-17..06-19· [python]
links:none on file
slides:none on file

Covers concrete uses: file handling with pathlib paths and .read_text/.write_text and saving/loading game state to a data folder, date math like “days until next birthday” with datetime replace/isoformat and timedelta, specialized containers—Counter, deque, defaultdict, namedtuple—for counting and queues, iterator tools (chain, islice, combinations, cycle, zip_longest) to avoid copying big lists, and functools utilities—lru_cache making recursive factorial orders of magnitude faster (200! timing example) plus total_ordering and partial; ends with a working tic‑tac‑toe with undo/redo/save/load.

AI-written summary · about

  1. 0:00Start
  2. 0:09Simon Ward Jones
  3. 0:51How Python Code Is Organized
  4. 1:10Built-In Functions
  5. 1:44Why Learn the Standard Library
  6. 10:47Json
  7. 11:28Renaming a File
  8. 14:13Replace all Text with Markdown
  9. 20:51Iso Format
  10. 33:37Double Ended Queue
  11. 35:12Max Len
  12. 37:42Default Dict
  13. 49:41Ester Tools
  14. 50:04What Is an Iterator and How Does a for Loop
  15. 50:20Iterator
  16. 53:10Tools
  17. 1:00:17Permutations
  18. 1:04:35Factorial
  19. 1:06:44Total Ordering
~/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.