On 24 Jun 2021, at 10:28, micro codery firstname.lastname@example.org wrote:
As pointed out already, f-strings and format are subtly different (not counting that one can eval and the other cannot). Besides quoting, the f-sting mini language has diverged from format's
Traceback (most recent call last): File "<stdin>", line 1, in <module> KeyError: 'spam='
I created a package some time ago to do exactly this https://pypi.org/project/f-yeah/