<s>[INST] Python Time Seconds to h:m:s I have a function that returns information in seconds, but I need to store that information in hours:minutes:seconds.  Is there an easy way to convert the seconds to this format in python?
 [/INST] or you can  do
>>> import datetime
>>> str(datetime.timedelta(seconds=666))
'0:11:06'

 </s>