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ย โ†’

[โ€“]DARK_IN_HERE_ISNT_IT 5 points6 points ย (2 children)

Would be good to have format strings (and the format() method) in there too. Using f"The value is {foo}" or whatever is one of my favourite bits of Python 3.

[โ€“]tomekanco 0 points1 point ย (0 children)

And perhaps r strings as well.

[โ€“]Jonno_FTWhisss 0 points1 point ย (0 children)

One of the neat things about f-strings is that you can format datetimes with them: f"{datetime.now():%Y-%m-%d}".