python f-string에서 중괄호 표기하는 방법

{% raw %}

  • https://pythonhow.com/how/print-literal-curly-brace-characters-in-a-string-and-also-use-dotformat-on-it/#:~:text=To%20print%20literal%20curly%20braces%20in%20a%20string,%22%20%7B%20%7B%7D%7D%22%20formatted_string%20%3D%20string.format%28%22Hello%2C%20world%21%22%29%20print%28formatted_string%29
  • f'{{}}

{% endraw %}