~/talk

F Strings!

Talkat PyBay 2024 · on Saturday, 2024-09-21· [python]
slides:none on file

Covers practical f-string features up to Python 3.12: using format specifiers for datetime and numeric formatting, calling functions and methods directly inside expressions, and the debug equals shorthand (var= prints name and value, introduced in 3.8). Highlights 3.12 additions: multi-line expressions, nested f-strings, reuse of the same quote style inside expressions, and improved f-string error messages. Mentions the PEP 750 proposal for tagged strings and provides a QR barcode to slides and docs. Gives concrete syntax examples and migration prompts (upgrade to Python 3.12).

AI-written summary · about

  1. 0:00Introduction
  2. 5:05Expressions
  3. 6:51Format Specification
  4. 9:46Debugging
  5. 11:41Python 312
~/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.