title: Python Datetime: Converting seconds to hours/minutes/seconds - but converting the day option into hours also?
body: <p>Pretty basic question. I'm using a function that parses seconds from JSON and uses datetime in Python to output to hours/minutes/seconds, like so:</p>
  <pre><code>str(datetime.timedelta(seconds=seconds here))
  </code></pre>
  <p>This outputs something like so:</p>
  <pre><code>Timestamp: 23:54:02.513000
  Timestamp: 1 day, 0:01:07.827000
  </code></pre>
  <p>It works perfectly, but I don't want datetime to print &quot;1 day&quot;, I want hours only. So for example the second above should be something like 24:01:07.827000</p>
  <p>I tried using my own custom function to convert the seconds, but I feel there must be an easier way.</p>