Re: Calendar Stuff

2009-11-11 Thread Victor Subervi
On Wed, Nov 11, 2009 at 1:12 AM, Simon Forman sajmik...@gmail.com wrote: On Tue, Nov 10, 2009 at 12:53 PM, Victor Subervi victorsube...@gmail.com wrote: Hi; I have the following code: import calendar, datetime def cal(): ... myCal = calendar.Calendar(calendar.SUNDAY)

Calendar Stuff

2009-11-10 Thread Victor Subervi
Hi; I have the following code: import calendar, datetime def cal(): ... myCal = calendar.Calendar(calendar.SUNDAY) today = datetime.date.today() day = today.day mo = today.month yr = today.year # month = myCal.monthdayscalendar(int(time.strftime(%Y)) month =

Re: Calendar Stuff

2009-11-10 Thread MRAB
Victor Subervi wrote: Hi; I have the following code: import calendar, datetime def cal(): ... myCal = calendar.Calendar(calendar.SUNDAY) today = datetime.date.today() day = today.day mo = today.month yr = today.year # month = myCal.monthdayscalendar(int(time.strftime(%Y)) month

Re: Calendar Stuff

2009-11-10 Thread Victor Subervi
On Tue, Nov 10, 2009 at 2:02 PM, MRAB pyt...@mrabarnett.plus.com wrote: Victor Subervi wrote: Hi; I have the following code: import calendar, datetime def cal(): ... myCal = calendar.Calendar(calendar.SUNDAY) today = datetime.date.today() day = today.day mo = today.month yr =

Re: Calendar Stuff

2009-11-10 Thread Dave Angel
(Comments inline, and at end) Victor Subervi wrote: On Tue, Nov 10, 2009 at 2:02 PM, MRAB pyt...@mrabarnett.plus.com wrote: Victor Subervi wrote: Hi; I have the following code: import calendar, datetime def cal(): ... myCal = calendar.Calendar(calendar.SUNDAY) today =

Re: Calendar Stuff

2009-11-10 Thread Simon Forman
On Tue, Nov 10, 2009 at 12:53 PM, Victor Subervi victorsube...@gmail.com wrote: Hi; I have the following code: import calendar, datetime def cal():   ...   myCal = calendar.Calendar(calendar.SUNDAY)   today = datetime.date.today()   day = today.day   mo = today.month   yr = today.year