Hi;<br>I have the following code:<br><br>import calendar, datetime<br><br>def cal():<br> ...<br>
myCal = calendar.Calendar(calendar.SUNDAY)<br> today = datetime.date.today()<br> day = today.day<br> mo = today.month<br> yr = today.year<br># month = myCal.monthdayscalendar(int(time.strftime("%Y"))<br>
month = myCal.monthdayscalendar(yr, mo)<br> print 'hi'<br><br>html headers are included. No matter which one of the last two lines I comment out, I never get to the point of printing 'hi'. (If I comment them both out, it does print.) What do?<br>
TIA,<br>Victor<br>