Calendar Problem

Victor Subervi victorsubervi at gmail.com
Tue Nov 3 14:50:10 EST 2009


Hi;
I have the following:

import calendar, datetime

myCal = calendar.calendar(6)
today = datetime.date.today()
day = today.day
mo = today.month
yr = today.year
month = myCal.monthdayscalendar(yr, mo)

The last line throws errors no matter how I try and tweak it. The current
incarnation complains about myCal being a string. What do?
TIA,
Victor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20091103/37b88afd/attachment.html>


More information about the Python-list mailing list