Re:Please reconsider the Boolean evaluation of midnight
by davidcuddeback on Thursday March 06, 2014 @10:39PM
(#7358403)
I just tried this:
Seems like time() + time() is not a TypeError in Python.
[ Parent
| on HN ]
Re:Please reconsider the Boolean evaluation of midnight
by Aramgutang on Thursday March 06, 2014 @10:54PM
(#7358433)
Wrong time(), you want datetime.time().
time.time() returns the seconds elapsed since the epoch.