Oct-27-2020, 09:34 PM
If this is just for time, consider using datetime for the conversion directly:
>>> import datetime >>> print(datetime.timedelta(seconds=50007)) 13:53:27