python: adding any number of days to date
<p>I am hoping someone can point me in the right direction in working with dates and timedelta.</p>

<p>my understanding is that to add any number (ex: 10 days) to a date, you need to convert it to a timedelta.
if that is correct, how can I add any number to a date when it is an integer?</p>

<p>any documentation or links would be great - thank you.</p>

<p>code example, my date is as follows: </p>

<pre><code>x = 20100103 (formatted as YYYYMMDD)
</code></pre>