You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How do I go about writing a literal {}? In my conky config, I need a lot of ${not variables}. Is this possible with f-strings? I would love an option where string interpolation must be done like this: %{x}.
It seems someone noticed the shortcoming you noticed and issued a pull request to allow us to use {{ as an escape sequence for { (like C# does it in interpolated strings):
Activity
625781186 commentedon Jun 27, 2022
the same question with you .
dsidirop commentedon Oct 28, 2023
It seems someone noticed the shortcoming you noticed and issued a pull request to allow us to use {{ as an escape sequence for { (like C# does it in interpolated strings):
#8
I have forked + merged the branch in question to my own fork (until the aforementioned pull request is approved in this repo):
https://github.com/dsidirop/f-strings
@625781186 @MarcelRobitaille