
#505: t-strings in Python (PEP 750)
See the full show notes for this episode on the website at talkpython.fm/505
Short listen plan
No short plan yet. We need saved quotes in chapters with known start and end times, backed by a timed transcript.
The skinny
The skinny isn't ready yet — the transcript is, and you can read it now.
Python has many string formatting styles, which have been added to the language over the years. Early Python used the percent operator to inject formatted values into strings, and we have string.format, which offers several powerful styles. Both were verbose and indirect, so fstrings were added in Python 3.6, but these fstrings lacked security features. Think about little bobby tables. And they manifested as fully formed strings to run timecode. Today, we talk about the next evolution of Python string… continue reading