Re:Python 3's F-Strings: An Improved String Formatting Syntax
by pansa2 on Wednesday January 20, 2021 @05:54PM
(#25853038)
I quite like the idea of using double-quotes for format strings and single-quotes for normal strings.
This isn’t sufficient on its own, though - what about raw strings? Perhaps use “” for format strings, ‘’ for raw strings and get rid of normal strings altogether?
This isn’t sufficient on its own, though - what about raw strings? Perhaps use “” for format strings, ‘’ for raw strings and get rid of normal strings altogether?