Python+ASP->import problem
Peter Hansen
peter at engcorp.com
Wed Jun 19 08:40:08 EDT 2002
Järvinen Petri wrote:
>
> When importing my modules, I always get AttributeError for attributes that
> surely exist on imported module.
>
> <clip>
> Response.Write(enactHTML.defineCSS('Enact Main'))
> AttributeError: 'module' object has no attribute 'defineCSS'
> </clip>
Not familiar with ASP, but is it possible to troubleshoot
this by using Response.Write(dir(enactHTML)) instead?
Then you'll know exactly what is available in that
module... if it works.
-Peter
More information about the Python-list
mailing list