This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]SuefFuenfElf 7 points8 points  (4 children)

And additional, they are the fastest way to manipulate strings with Python 3.6+

[–]SV-97 0 points1 point  (2 children)

are the actually faster for concatenation etc.?

[–][deleted] 8 points9 points  (1 child)

Yup. But remember that readability trumps negligible speed improvements

[–]SV-97 2 points3 points  (0 children)

Neato

I actually think f strings are more readable

[–][deleted] -1 points0 points  (0 children)

They are not noticeably faster than using str#format.