title: comparing times with datetime
body: <p>I'm new to python, and I'm trying to use a time in a while statement.</p>
  
  <pre><code>while hours_left is greater than 0:00
  {
      do some stuff
      decrement hours_left
  }
  </code></pre>
  
  <p>is what I'm trying to achieve.</p>
  
  <p>however I can't just say <code>hours_left &gt; 0</code> because it's an int. </p>
  
  <p>any ideas how I can type <code>0:00</code> as datetime? </p>
  
  <p>Thanks!</p>