title: Convert integer to hours and minutes
body: <p>I'm working on a Python script that will read a file and grab a string <code>total_time</code>. Currently, this is what I have.</p>
  
  <pre><code>if("Total time" in data):
                  total_time=int(filter(str.isdigit, data))
                  print(total_time)
  </code></pre>
  
  <p>Output: 419</p>
  
  <p>I'm trying to find the best way to read lots of files, grab this total time, and convert 419 into 4 hours and 19 minutes to allow me to do some statics and analytics with this.</p>