minutes to hours python code example Example: minutes to seconds python >>> import datetime >>> str(datetime.timedelta(seconds=666)) '0:11:06'