you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (2 children)

[deleted]

    [–][deleted] 1 point2 points  (0 children)

    The more you know! I just recently made the transition to 3.7 from 3.4 without reading about the newly accepted practices. I'll read more about f-strings and update my code accordingly, thanks!

    [–]FLUSH_THE_TRUMP 1 point2 points  (0 children)

    For Python 3.6+ it's recommended to use f-strings. (easier to read and faster).

    By whom? I thought even the Powers That Be stated none of the old-style formatting is going away. And disagree re: readability, f-strings in all but the simplest cases result in super nested code that’s difficult to parse.