# #505: t-strings in Python (PEP 750)

> Episode of [Talk Python To Me](https://podistic.com/podcast/talk-python-to-me.md) · Published May 13, 2025 · Duration 1:11:59 · Episode 505, season 1

- **Listen on Podistic:** https://podistic.com/episode/505-t-strings-in-python-pep-750
- **Audio:** https://pscrb.fm/rss/p/dts.podtrac.com/redirect.mp3/talkpython.fm/episodes/download/505/t-strings-in-python-pep-750.mp3 (audio/mpeg)

## About this episode

Python has many string formatting styles which have been added to the language over the years. Early Python used the % operator to injected formatted values into strings. And we have string.format() which offers several powerful styles. Both were verbose and indirect, so f-strings were added in Python 3.6. But these f-strings lacked security features (think little bobby tables) and they manifested as fully-formed strings to runtime code. Today we talk about the next evolution of Python string formatting for advanced use-cases (SQL, HTML, DSLs, etc): t-strings. We have Paul Everitt, David Peck, and Jim Baker on the show to introduce this upcoming new language feature.
