
July 20, 2015
7:25 p.m.
Perhaps surprisingly, I find myself leaning in favor of the f'...{var}...' form. It is explicit in the variable name. Historically, the `x` notation as an alias for repr(x) was meant to play this role -- you'd write '...' + `var` + '...', but it wasn't brief enough, and the `` are hard to see. f'...' is more explicit, and can be combined with r'...' and b'...' (or both) as needed. -- --Guido van Rossum (python.org/~guido)