On May 9, 2006, at 7:30 PM, Andrew Jaffe wrote:

I've just started using BBEdit and it seems great so far.

I use it for a lot of python programming, and I've noticed that the BBEdit actually uses the wrong python interpreter: I've python 2.3 in /usr/bin/python and python 2.4 in /usr/local/bin.

Me too.

Is there some way I can tell it to use the latter for running and checking scripts?

BBEdit will find which python interpreter to invoke using the following logic:

- extract the interpreter from the #! line (/usr/bin/env is supported here)
- else look for a binary named python in your PATH (*)
- else look for a binary named python in some well known places

(*) Your PATH here means what is available to the BBEdit GUI process - what you have set in your .bashrc or equivalent doesn't apply. To influence the environment variables for GUI processes you must use the technique discussed at <http://developer.apple.com/qa/qa2001/ qa1067.html>.

Jim

--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>

Reply via email to