I'm trying to call python scripts from IIS in the following tree: upgrade/ util/ __init__.py logonUser.py select/ selectFiles.py
- select/ is referred from IIS as a virtual dir vselect. - upgrade/ is inserted into the Python path via .pth file in .../site-packages. - selectFiles.py has a line "from util import logonUser". If I run selectFiles.py from the command line everything is ok. But if I call it via IIS (http://localhost/vselect/selectFiles.py) there is an error "No module named util" due the fact that selectFiles.py still sees upgrade/ in the Python Path but upgrade/util/logonUser.py can no longer be found by selectfiles.py (os.path.exists returns false). This is strange because other modules, e.g. odbc.py are still importable. Hope you can help me. Thanks. -- ------------------------------------------------------------------- Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0 E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n'.decode('base64') ------------------------------------------------------------------- -- http://mail.python.org/mailman/listinfo/python-list