Python and ASP question

yosefgold at hotmail.com yosefgold at hotmail.com
Sun Feb 27 10:06:47 CET 2000


I am trying to import a module (using the 'import' statement) into an
ASP page and it does not seem to be working.  Is this a limitation of
Python/ASP or am I doing something wrong?

My real goal is to import one of my own modules into the Application
context.  However, I tried importing some built in modules,
like 'string' to see how these work.  The ASP page does not seem to
recognize the 'import' statement.

If import is not allowed, that severely limits the usefullness of using
Python as a ASP scripting language.  The only other option would seem
to be to make my Python components available as COM objects.  If I do
this however, I might as well write the ASP pages in Jscript or
VBscript.

Is anyone using Python as an ASP scripting language for real projects?

Thanks,
Yosef Gold
yosefgold at hotmail.com



Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list