title: Create Range of Hours in Python
body: <p>So I'm looking to take input such as 7:00 AM as a start time, and say, 10:00 PM as an endtime, and then compare a set of times (also in the form of 8:00 AM, 3:00 PM, etc) to see if those time are or aren't in the range of time. Is there a good way to create a "day" that has a range of hours (the endtimes can be as late as 4:00 AM, so I was figuring I would go from 6:00 AM - 5:59 AM instead of midnight - 11:59 PM, if that's possible) that I can check times against?</p>
  
  <p>For example: <code>starttime = 8:00 AM, endtime = 3:00 AM</code>, and checking <code>time = 7:00 AM</code> would return time as being out of the range.</p>
  
  <p>Thanks!</p>