Table Of Contents

Previous topic

logger.py

Next topic

Testing

This Page

utils.py

def secs2str(seconds):

Convert seconds into hh:mm:ss.ss string

>>> from simo.utils.utils import secs2str
>>> secs2str(1.5)
'00:00:1.500'
>>> secs2str(121.9)
'00:02:1.900'
>>> secs2str(5121.9)
'01:25:21.900'