News

How to use template strings in Python 3.14 Speaking of template strings, we’re pretty excited about this next-generation method for formatting data. Find out how it transcends many limitations ...
We’ve long used f-strings in Python to conveniently format variables in a string. Python 3.14 introduces an even more advanced feature in this vein, template strings as defined in PEP 750.
It’s not entirely new… If we write: In Python 3.9 — it works. That is because the new parser enabled this syntax, despite it not being officially supported until Python 3.10. More typing ...