>> -----Original Message----- >> From: chris lee >> Sent: Wednesday, November 24, 2004 3:37 PM >> >> The script gave me the following error, I'm a newbie to scripting >> so a clue how to troubleshoot would be a appreciated >> >> Traceback (most recent call last): >> File "<string>", line 4, in ? >> File "/home/clee/calendar.py", line 23, in ? >> import calendar >> File "/home/clee/calendar.py", line 80, in ? >> calendar.setfirstweekday(calendar.SUNDAY) >> AttributeError: 'module' object has no attribute 'setfirstweekday'
Try naming the file something other than calendar.py (e.g. capitalize the filename) so that it doesn't get confused when you try to import the standard calendar module. I've also renamed the script on my site to help avoid this problem. The file is now: http://www.dotrose.com/misc/computer/Calendar-Large.py >> BTW - as a long time, casual user of Pagemaker I am astounded by >> how good Scribus is It really is, isn't it. -- Henry
