.pth files question

Benjamin Rutt rutt at bmi.osu.edu
Fri Sep 2 16:21:39 CEST 2005

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"?

Benjamin Rutt

More information about the Python-list mailing list