title: How get just the "time" part from a datetime.strptime object python
body: <p>I have data like this: "2016-10-17 09:34:02" with the format: "%Y-%m-%d %H:%M:%S" and I use: <code>from datetime import datetime</code></p>
  
  <p>My variable is like this: </p>
  
  <pre><code>date_object = datetime.strptime(datetemp, format)
  </code></pre>
  
  <p>So far, so good...</p>
  
  <p>But I need get only the time part from this object (date_object) to make some comparisons...</p>
  
  <p>When I do this: </p>
  
  <pre><code>print(date_object.time)
  </code></pre>
  
  <p>I get the following error: </p>
  
  <pre><code>built-in method time of datetime.datetime object at 0x00A94AE8
  </code></pre>
  
  <p>How can i get just the time part from the object <code>date_object</code>? This will allow me to make comparisons within hourly ranges.</p>