compare datetime var to str var
<p>I'm trying to compare a <code>datetime.datetime.now()</code> variable to a <code>calendar.itermonthdates()</code> variable. </p>

<p>According to the errors I'm getting, the datetime.now is a datetime.date() type, whereas the 
itermonthdates is a string. </p>

<p>how can I convert the datetime date to a string for comparison?</p>

<p>and will string comparison work for dates of the format 2011-12-12? I'm not sure how string comparsion functions in python.</p>

<p>Thanks</p>
