I would like to configure outside of my program a template string, and then apply it at runtime:
my_string = "hello {country}" # ← this string would be read in from an external configuration file
country = "France"
print(f%%my_string%%) # ← the place where the magic happens
Is this possible or is there a proper way to do this?