Template strings, also known as t-strings, are a new feature in Python 3.14 that shipped in October 2025.
To get started, read our brief introduction.
Want to go deeper? Read the official documentation and check out our awesome-t-strings list.
Working with HTML? Try the
tdom project, which lets you use t-strings to generate HTML safely and easily.
Please say hello! The t-strings team is: