title: How to modify datetime.datetime.hour in Python?
body: <p>I want to calculate the seconds between now and tomorrow 12:00. So I need to get tomorrow 12:00 <code>datetime</code> object.</p>
  
  <p>This is pseudo code:</p>
  
  <pre><code>today_time = datetime.datetime.now()
  tomorrow = today_time + datetime.timedelta(days = 1)
  tomorrow.hour = 12
  result = (tomorrow-today_time).total_seconds()
  </code></pre>
  
  <p>But it will raise this error:</p>
  
  <pre><code>AttributeError: attribute 'hour' of 'datetime.datetime' objects is not writable
  </code></pre>
  
  <p>How can I modify the hour or how can I get a tomorrow 12:00 <code>datetime</code> object?    </p>