Actualités

Python 3.14 has a new feature called the template string, or t-string, type. A t-string superficially resembles an f-string, but it’s designed to do something very different.
It includes many new features, such as flexible f-string parsing, support for the buffer protocol, a new debugging and profiling API, and more. F-strings can now include any valid Python ...
F-strings, Python’s convenient system for performing string formatting, used to be heavily restricted in terms of how they could be formatted. Python 3.12 removes many of these limitations.