Import-error using own modules in Python in ASP
Thomas Weholt
thomas at cintra.no
Mon Oct 16 08:14:41 EDT 2000
Hi,
I'm trying to ditch VBScript in favour of Python in ASP, but I keep
getting an import error when I try to import my own modules. It works
fine in Pythonwin, but fails terribly in ASP.
In my Python-folder I've created a folder called hs, with an empty
__init__.py file in it. In the asp-page I'm trying to import it doing
stuff like :
from hs.db import *
And it fails, saying there's no module named db. The file db.py exists
in the hs-folder.
Any tips or hints?
Thomas
More information about the Python-list
mailing list