Import-error using own modules in Python in ASP
Thomas Weholt
thomas at cintra.no
Mon Oct 16 08:14:41 EDT 2000
More information about the Python-list mailing list
Mon Oct 16 08:14:41 EDT 2000
- Previous message (by thread): how do i PUT or POST to a web server?
- Next message (by thread): Import-error using own modules in Python in ASP
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message (by thread): how do i PUT or POST to a web server?
- Next message (by thread): Import-error using own modules in Python in ASP
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list