Get the latest tech news
Python’s new t-strings
Dave Peck's home on the web. Dave is an independent software developer, investor, and civic technologist.
We can imagine a library that provides an html() function that takes a Template and returns a safely escaped string: A simple t-string example Letâs say we wanted to write code to convert all substituted words into pig latin. T-strings are a powerful new feature that will make Python string processing safer and more flexible.
Or read this on Hacker News