.pth files question

Benjamin Rutt rutt at bmi.osu.edu
Fri Sep 2 10:21:39 EDT 2005


Am I correct in understanding that:

1) foo.pth will be used if it is in the directory
/usr/lib/python-2.4/site-packages

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

Thanks,
-- 
Benjamin Rutt



More information about the Python-list mailing list