.pth files question
cam.ac.uk at mh391.invalid
Fri Sep 2 17:26:54 CEST 2005
Benjamin Rutt wrote:
> Am I correct in understanding that:
> 1) foo.pth will be used if it is in the directory
> 2) foo.pth will not be read from if it is only placed somewhere in the
> PYTHONPATH environment, such as foo.pth exists as the file
> /tmp/bar/foo.pth, where PYTHONPATH contains "/tmp/bar"?
Yes. All this is done by the site module.
More information about the Python-list