allow scripts to use .pth files?

John Machin sjmachin at lexicon.net
Thu Jul 12 14:20:14 CEST 2007


On Jul 12, 9:55 pm, samwyse <samw... at gmail.com> wrote:
> On Jul 8, 3:53 pm, John Machin <sjmac... at lexicon.net> wrote:
>
>
>
> > I got the impression that the OP was suggesting that the interpreter
> > look in the directory in which it found the script.
> [...]
> > 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. Otherwise the OP's script.p?h file need only
> > contain ".\n" (or the path to the  directory in which it resided!!),
> > and I doubt that he was proposing something so silly.
>
> And as I'm sure you realize, those two impression slightly contradict
> each other.

Your sureness is misplaced. Please explain.




More information about the Python-list mailing list