title: What type to store time length in python?
body: <p>I was using :</p>
  
  <pre><code>total_time=datetime.time(int(total_time_text.replace("h","").replace("m","").split(" ")[0]),int(total_time_text.replace("h","").replace("m","").split(" ")[1]),0)
  </code></pre>
  
  <p>to store the time length. </p>
  
  <p>But when I have :</p>
  
  <pre><code>total_time_text ="26h 50m"
  </code></pre>
  
  <p>I get an exception that </p>
  
  <pre><code>'hour must be in 0..23'
  </code></pre>
  
  <p>so the type "time" is not properly for this var. What I must to use?</p>