title: How to convert a time object to seconds since midnight in python?
body: <p>I have a <code>datetime.time</code> object (no date part) in python, and want to find out how many seconds has elapsed since midnight.  <code>t.hour * 3600 + t.minute * 60 + t.second</code> will surely work, but is there a more pythonic way?</p>