title: Python add second to time object
body: <p>I need to add second to a string time using python datetime,  I have following code, but got error</p>
  <pre><code>from datetime import datetime,timedelta
  
  time = &quot;13-15-12&quot;
  duration = 15
  time_object = datetime.strptime(time, '%H-%M-%S').time()
  time_object_end = time_object + timedelta(seconds=duration)
  </code></pre>
  <p>But got the error</p>
  <pre><code>time_object_end = time_object + timedelta(seconds=duration)
  TypeError: unsupported operand type(s) for +: 'datetime.time' and 'datetime.timedelta'
  </code></pre>