[Pythonmac-SIG] Re: Pack Man issues on OS X 10.3.4

Russell E. Owen rowen at cesmail.net
Mon Jun 7 14:49:28 EDT 2004


In article <a05200f00bce9f79451c4@[81.101.64.24]>,
 has <hengist.podd at virgin.net> wrote:

> Looks like my genius shell script just blew up. I'm open to suggestions:
> 
> -  Could a better 'python exe locator' be written?

Certainly.

Perhaps you could base it on locate:
% locate python
(huge list of stuff that you'd have to grep through, unless you can 
figure out how to locate ^python$)

Another, probably better, option is to only search the path (e.g. 
sys.path) for things called "python".

-- Russell




More information about the Pythonmac-SIG mailing list