.pth in current directory: Why doesn't it work as the documentation says?

Christian Heimes lists at cheimes.de
Mon May 18 06:57:34 EDT 2009


Philipp Hagemeister schrieb:
> Where is the fault in my reasoning here?

Python processes .pth files only in some directories. The directories are

 * the global site-packages directory
 * the user site-packages directory (starting with Python 2.6)
 * and any directory that is added by a .pth file

The feature is implemented and documented in the site.py file.

Christian




More information about the Python-list mailing list