I like the idea of T Strings and here is a toy example:
name: str = 'Bob' age: int = 30 template = t'Hello, {name}! You are {age} years old.' print (template.strings) print(template. interpolations) print(template. values) ('Hello, ', '! You are ', ' years old.') (Interpolation('Bob', 'name', None, ''), Interpolation(30, 'age', None, '')) ('Bob', 30)But why isn't there a
print(template.render)
# → 'Hello, Bob! You are 30 years old.'
[link] [comments]






![The Gang Republic: Inside Haiti’s New Order (2026) - ~3 million people living in the grips of all-out gang war. France24 spent a fortnight filming in and around the Haitian capital, speaking to a population held hostage by this drawn-out crisis (CC) [00:52:38]](https://external-preview.redd.it/0j1B98qWy2MAsjLEwjT10EbknBToMVuWRJ-tUeZsTso.jpeg?width=320&crop=smart&auto=webp&s=041d55dee546ef807e7eda2e0d1d013111f02a25)

English (US) ·