allow scripts to use .pth files?

samwyse samwyse at gmail.com
Thu Jul 12 14:27:11 CEST 2007


On Jul 12, 7:20 am, John Machin <sjmac... at lexicon.net> wrote:
> 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.


Oops, you're right.  See my other post.




More information about the Python-list mailing list