Комментарии:
Omg thanks for this info.
I am developing with python quite a while but did not know this.
Thanks, you saved me a lot of time! :)
ОтветитьMichael Kennedy is somebody that really cares about the Python community. The Bob Ross of python. 🎨 🏔️
ОтветитьHow about months…each month has different number of days…it’s cool nonetheless 😊
ОтветитьHelped me :)
ОтветитьYes this is helpful
ОтветитьThanks so much for this! I had no idea this was a thing.
ОтветитьSolid!
Does anyone understand the syntax "dt:" on line eight?
I've been searching for the colon being used like this, but am not finding it.
definitely not obvious, I have been using timedelta but didn't know about this. Thanks.
Ответитьthank yooooooooooooooooooooooou soooooooooooo much Michael
Ответить5 weeks ago I was looking for a more reliable way to do exactly this. For once in my life, I knew the answer before Michael.
ОтветитьThis is a new one for me, thanks!
A few seconds into the video, I immediately thought to
60 / 60 / 24
timedelta for the win
Not obvious
ОтветитьI was doing stuff like "days = dt.total_seconds() / 60 / 60 / 24", I wasn't aware of this until now, thanks and keep up the good work.
ОтветитьThanks for the concise description on how to do this. I did know how to do this before this video, but only a few years ago. My current company I deal with time a lot and stumbled upon using timedelta when researching how to take care of time zones and quarterly data.
ОтветитьI knew, but only because I listened to your podcast! :)
ОтветитьNice one Michael. Very useful
ОтветитьThank you for this!!. Now working with time would be so much efficient and time-saving.
Ответить