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