Re: Newbie Question: How to use a .pth file on a Macintosh

2008-05-25 Thread martin . laloux
you put your pth file in (same configuration: /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site- packages/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Newbie Question: How to use a .pth file on a Macintosh

2008-05-25 Thread Ivan Illarionov
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

Newbie Question: How to use a .pth file on a Macintosh

2008-05-24 Thread Robbie
Hello All, Hopefully this is an easy question: I'd like to use a .pth file on my Macintosh so that I can easily import modules that I've created in my own working directory. I've created a file called Robbie.pth. It includes a single line: /Robbie/PythonWork I can't seem to figure out where

Re: Newbie Question: How to use a .pth file on a Macintosh

2008-05-24 Thread J Peyret
Hmmm, for lack of a better response, here are some suggestions, based on what I've seen on Windows+Linux. #1 put the .pth in the site-packages directory (this is what I do on Linux). I think Python considers it special and looks for pth. you can probably get that directory from doing import