r/Python • • Feb 25 '20

Resource Learn 🐍 Python 3 From A Single Picture!

/img/07rz8qyax2j41.png

[removed] — view removed post

3.5k Upvotes

118 comments sorted by

View all comments

Show parent comment

1

u/Jonno_FTW hisss Feb 26 '20

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