title: how to create a date object in python representing a set number of days
body: <p>I would like to define a variable to be a datetime object representing the number of days that is entered by the user.  For example.</p>
  
  <pre><code>numDays = #input from user
  deltaDatetime = #this is what I'm trying to figure out how to do
  str(datetime.datetime.now() + deltaDatetime)
  </code></pre>
  
  <p>This code would print out a datetime representing 3 days from today if the user entered 3 as their input.  Any idea how to do this?  I'm completely lost as to an effective approach to this problem.</p>
  
  <p>EDIT: Because of how my system is set up, the variable storing the "deltaDatetime" value must be a datetime value.  As I said in the comments, something like 3 days becomes Year 0, January 3rd.</p>