![]() |
|
|
|
#1 |
|
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) > > 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 > You should use myCal = calendar.Calendar(6) This creates calendar.Calendar object. -- MichaĆ Klich http://www.michalklich.com MichaĆ Klich |
|
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Strange XP problem | Calvin Crumrine | Computer Information | 2 | 07-18-2004 03:59 AM |
| Ron Chiplin Allied Bakeries Cardiff. Project | ronald.chiplin | Computer Support | 11 | 06-10-2004 02:12 AM |
| Freezing Problem - Memory | Vincent Wonnacott | Computer Support | 1 | 05-19-2004 05:35 AM |
| Re: Virus Problem ** Help!** | David BlandIII | A+ Certification | 1 | 03-02-2004 06:00 PM |
| Re: Serious Computer Problem | hootnholler | A+ Certification | 1 | 11-24-2003 12:18 PM |