Python: how to get number of days from fixed past date to now
<p>I'm trying to use Python to get the number of days from an arbitrary fixed past date (e.g., 2016/03/15) to now. I see that I can use <code>datetime</code> to specify now and the past date, and get a timedelta containing the number of days between:</p>

<pre><code>&gt;&gt;&gt; noo = datetime.now()
&gt;&gt;&gt; then = noo.replace(month=3, day=15, hour=0, minute=0, second=0, microsecond=0)
&gt;&gt;&gt; diffy = noo - then
&gt;&gt;&gt; diffy
datetime.timedelta(43, 65233, 748370)
</code></pre>

<p>But, being still pretty new to Python, I don't know how to extract the number of days (43) from the timedelta. Can somebody help me out with this?</p>