Talk Python To Me cover image

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

Talk Python To Me

00:00

T-Strings Create Template Objects

  • T-strings produce a new template type, unlike F-strings that produce a normal string.
  • This enables libraries to distinguish static from dynamic parts and safely handle things like SQL or HTML escaping.
Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app