~/talk

Python for Humans - Designing Python Code Like a User Interface

Talkat PyCon US 2026 · 2026-05-13..05-19· [developer-experience]
links:none on file
slides:none on file

Seven concrete design moves appear with before-and-after code: using top-level structure as layout so files scan top-down with a bottom entry point, naming treated like labels with type hints and defaults, spacing and grouping for visual hierarchy, and progressive disclosure via functions, classes, or decorators (example: a timing decorator extracting logging). Demos use a local Tiny Paws example and recommend formatters and checkers like black ruff Pylance, advocating picking one or two and keeping them in CI.

AI-written summary · about

  1. 0:00Introduction
  2. 2:59Code as user interface
  3. 4:23Code structure patterns
  4. 7:12Clear naming conventions
  5. 9:39Visual hierarchy
  6. 11:49Progressive disclosure with decorators
  7. 14:39Functions like forms
  8. 18:07Familiar directory structures
  9. 20:58Formatters and linters
  10. 22:23Clean code today
  11. 23:46Q&A
~/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.