Newbie Question: How to use a .pth file on a Macintosh
Ivan Illarionov
ivan.illarionov at gmail.com
Sun May 25 06:14:41 EDT 2008
Robbie wrote:
> I can't seem to figure out where to put this file so that Python will
> recognize it when I start it up.
You need to put this file in your site-packages directory.
To get the location of your site-packages directory, type in Python
interactive shell:
from distutils.sysconfig import get_python_lib
print get_python_lib()
-- Ivan
More information about the Python-list
mailing list