F is for f-strings Combining string literals and values of variables has never b...

@hamatti@mastodon.world

F is for f-strings

Combining string literals and values of variables has never been as smooth as it is with f-strings.

I share my most used recipes for filename zero padding, print output aligning, debugging and percentages with Python's f-strings.

hamatti.org/posts/f-is-for-f-s

#Python #Blaugust #Blaugust2026