title: How do I get tomorrow's date in Python?
body: <p>I am able to get today's date and time using a Python script. But I need to get tomorrow's date and time in number format. So I used the script below.</p>
  
  <pre><code>#! /usr/bin/python
  import datetime
  import sys
  import os
  
  tomorrow = datetime.date.today() + datetime.timedelta(days=1)
  print "Tomorrow date is" + str(tomorrow) 
  tm_stme = datetime.time(0, 0, 0)
  tm_etime = datetime.time(23,59,59)
  tm_stdate = datetime.datetime.combine(tomorrow, tm_stme)
  tm_enddate = datetime.datetime.combine(tomorrow,tm_etime)
  
  print "tomorrow start date:" + tm_stdate
  print "tomorrow end date:" + tm_enddate  
  
  tm_sdt_convert = time.mktime(time.strptime(tm_stdate, "%Y-%m-%d %H:%M:%S"))
  tm_tdt_convert = time.mktime(time.strptime(tm_enddate, "%Y-%m-%d %H:%M:%S"))
  </code></pre>
  
  <p>But it throws the error below:</p>
  
  <blockquote>
    <p>administrator@Ashok-Dev:~/Desktop$ python testing.py<br>
        Tomorrow date is2012-11-24<br>
        Traceback (most recent call last):<br>
          File "testing.py", line 13, in &lt;module><br>
            print "tomorrow start date:" + tm_stdate<br>
        TypeError: cannot concatenate 'str' and 'datetime.datetime' objects
    </p>
  </blockquote>
  
  <p>I need to get <code>tm_sdt_convert</code> as a variable result. How do I get the output without error?</p>