Introducing t-strings: f-strings with superpowers - Dave Peck - PyCascades 2026 @PyCascades
Introducing t-strings: f-strings with superpowers - Dave Peck - PyCascades 2026  @PyCascades
Uploaded May 2026 | Updated December 2026, 3 hours ago
Python 3.14 introduces t-strings: template string literals that look like f-strings but evaluate to a `Template` instance instead of a `str`. This opens up exciting possibilities for safer string processing (avoiding injection vulnerabilities in SQL and HTML) and powerful custom formatting (like HTML templating directly in Python), all while using the familiar f-string syntax developers already know and love.

In this talk, I'll describe what t-strings are and how they differ from f-strings and other common Python formatting tools. I'll explore when they're a good fit for new projects and how to use them effectively in everyday code. I'll also demonstrate two libraries — `tdom` (HTML) and `t-sql` (SQL) — and close with a live tooling demo in VS Code showing the current state of formatting, linting, and syntax highlighting support.

Attendees will leave knowing when to reach for t-strings, how to adopt them safely, and which tools can improve their developer experience.
Introducing t-strings: f-strings with superpowers - Dave Peck - PyCascades 2026Security considerations in Python Packaging - Gajendra Deshpande (PyCascades 2022)Demystifying SQLite with Python - Ria BhatiaThe Stories Of the Most Infamous Bugs - Ian Zelikman (PyCascades 2024)Supporting the George Floyd Protests in Portland: Demonstrations, Legal Support, and Django AppsGuido van Rossum: BDFL Python 3 retrospectiveTo Notebook or Not to Notebook: Multilingual Workflows for Data Analysis - Rodrigo Silva FerreiraGiving the Perfect Intro to Coding Workshop...in Python!Why Hello World is a Massive Operation - Richard Rowland (PyCascades 2023)Untangle Python Spaghettis - Deep Dive Into Environments [...] - Cheuk Ting Ho (PyCascades 2023)Python Stings Your Ego: Finding Pride in Community, Not Just Code - Emmanuel Ugwu - PyCascades 2026Community Doesn’t Equate to Visibility - Aji Fama Jobe (PyCascades 2025)
PyCascades |

Introducing t-strings: f-strings with superpowers - Dave Peck - PyCascades 2026

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER