I am aware that with the timedelta function you can convert seconds to h:m:s using something like:
>> import datetime
>> str(datetime.timedelta(s
>>> import time, datetime
>>> a = time.strptime("00:11:06", "%H:%M:%S")
>>> datetime.timedelta(hours=a.tm_hour, minutes=a.tm_min, seconds=a.tm_sec).seconds
666
And here's a cheeky one liner if you're really intent on splitting over ":"
>>> s = "00:11:06"
>>> sum(int(i) * 60**index for index, i in enumerate(s.split(":")[::-1]))
666