allow scripts to use .pth files?

Alan Isaac aisaac at american.edu
Tue Jul 10 12:05:53 EDT 2007


John Machin wrote:
> I got the impression that the OP was suggesting that the interpreter
> look in the directory in which it found the script.

Right.

 
> I got the impression that the problem was that the package was not
> only not on sys.path but also not in the same directory as the script
> that wanted to import it.

Right.


> I'm curious whether you think that the OP's use of ".pth" was a typo,
> and whether you have read this:
>     http://docs.python.org/lib/module-site.html

You seem to understand what I'm getting at.
Thanks John.

Alan Isaac (the OP above)



More information about the Python-list mailing list