Discussion about this post

User's avatar
Aakash Ghosh's avatar

Nice article. A small typo in this line:

answer = "Are you sure? "y/n"

The string is not closed.

Expand full comment
Brett Denny's avatar

Sometimes we get in a bubble and a rhythm and forget to look for better ways of doing things (which is _exactly_ why I read your articles). I've been using f-strings almost since they were introduced, but NEVER ONCE in how many years had I once considered to use them for date formatting. I feel so dumb, but that's a game changer. Thanks!

Side note, is there a typo in your flag_to_bool dictionary with a quoted "False" value?

Expand full comment
4 more comments...

No posts