I want to format a string with a few variables. But I have more text in the string that is surround by curly braces, but I don't want to format that. I have tried writing it with backslashes: \{content\}
but that didn't work either. How do I achieve this?
Example:
string = \
"""
{user}'s email is {email}.
{This} is in {curly} {braces}.
"""
print(string.format(user="Foo", email="Bar"))
I don't want to format "This", "curly", and "braces".