I am aware that with the timedelta function you can convert seconds to h:m:s using something like:
>> import datetime
>> str(datetime.timedelta(seconds=666))
'0:11:06'
But I need to convert h:m:s to seconds, or minutes.
Do you know a function that can do this?