<s>[INST] How do I find the time difference between two datetime objects in python? How do I tell the time difference in minutes between two datetime objects?
 [/INST] >>> import datetime
>>> a = datetime.datetime.now()
>>> b = datetime.datetime.now()
>>> c = b - a
datetime.timedelta(0, 8, 562000)
>>> divmod(c.days * 86400 + c.seconds, 60)
(0, 8)      # 0 minutes, 8 seconds

 </s>