[Tutor] Getting error that calendar is underfined when importing calendar module

Vicki Stanfield vicki at stanfield.net
Wed Mar 23 19:34:56 CET 2005


> The cgi is importing itself when you 'import calendar'. Try renaming your
> calendar.py to something
> else like calendar-cgi.py
>
> Kent

Thanks. I was almost there, having noticed that dir(calendar) was
different when run from the script than in an interactive session.

Vicki

P.S. Now to parse the data.



More information about the Tutor mailing list