Re: Calendar Problem

2009-11-04 Thread Carsten Haese
Victor Subervi wrote: > That's what I initially had. My server, that I am in > the process of leaving, rejected that syntax. What version of Python does that server use? The calendar.Calendar class first appeared in Python 2.5. I suspect your server is using an older version. -- Carsten Haese htt

Re: Calendar Problem

2009-11-04 Thread Victor Subervi
Well, you're right. That's what I initially had. My server, that I am in the process of leaving, rejected that syntax. Lovely. Thanks, V On Tue, Nov 3, 2009 at 6:56 PM, Dave Angel wrote: > > > MichaB Klich wrote: > >> Dnia wtorek 03 listopada 2009 o 20:50:10 Victor Subervi napisał(a): >> >> >>>

Calendar Problem

2009-11-03 Thread Victor Subervi
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

Re: Calendar Problem

2009-11-03 Thread Dave Angel
MichaB Klich wrote: Dnia wtorek 03 listopada 2009 o 20:50:10 Victor Subervi napisał(a): Hi; I have the following: import calendar, datetime myCal =alendar.calendar(6) today =atetime.date.today() day =oday.day mo =oday.month yr =oday.year month =yCal.monthdayscalendar(yr, mo) The last lin

Re: Calendar Problem

2009-11-03 Thread Michał Klich
Dnia wtorek 03 listopada 2009 o 20:50:10 Victor Subervi napisał(a): > 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) > > Th