pythonista to Python · 5 years agoPython 2 vs 3, what's the difference?python-commandments.orgexternal-linkmessage-square1fedilinkarrow-up13arrow-down10file-text
arrow-up13arrow-down1external-linkPython 2 vs 3, what's the difference?python-commandments.orgpythonista to Python · 5 years agomessage-square1fedilinkfile-text
minus-squaresbvmlinkfedilinkarrow-up3·4 years agoI will say that f-strings have unexpectedly replaced str.format() as my preferred string formatting tool. I don’t like that there are so many and it’s kinda annoying to need to prefix strings with “f” but they are nice.
I will say that f-strings have unexpectedly replaced str.format() as my preferred string formatting tool. I don’t like that there are so many and it’s kinda annoying to need to prefix strings with “f” but they are nice.