[python-win32] sys.path strangeness under IIS/ASP

Geoffrey Talvola gtalvola@nameconnector.com
Wed, 23 Oct 2002 17:53:10 -0400


Are you using Python 2.1.X?  There was a bug like this that was fixed in
Python 2.2.

- Geoff

> -----Original Message-----
> From: Don Dwiggins [mailto:dond@advancedmp.com]
> Sent: Wednesday, October 23, 2002 5:00 PM
> To: python-win32@python.org
> Subject: [python-win32] sys.path strangeness under IIS/ASP
> 
> 
> I have a local site setup, using a .pth file to point to my site files
> directory.  This works fine under command line invocation of 
> python, but not
> under ASP. There, none of my site directories show up.
> 
> I've tried "import site" with no results.  Any idea what's 
> going on, and how
> to fix it?  I don't want to hardcode the pathname of the site 
> directory in my
> script, because it'll be deployed on a couple of machines 
> with different
> setups.
> 
> Thanks,
> -- 
> 
> Don Dwiggins			 "Experience is what you get when
> d.l.dwiggins@computer.org         you were expecting something else."
>                                   -- Seen on an office wall
> 
> 
> 
> _______________________________________________
> Python-win32 mailing list
> Python-win32@python.org
> http://mail.python.org/mailman/listinfo/python-win32
>