Executing Python Scripts on Mac using Python Launcher

Dave Angel d at davea.name
Tue Jun 26 22:38:54 EDT 2012


On 06/26/2012 05:48 PM, Hans Mulder wrote:
> On 26/06/12 22:41:59, Dave Angel wrote:
> <SNIP>

> No, I meant: $ type python python is
> /Library/Frameworks/Python.framework/Versions/2.7/bin/python 'type' is
> a bash builtin that tells you how bash would interpret a command.
> 'which' is a separate program, which tells you how csh would interpret
> a command. For a 'bash' user, 'type' is more accurate than 'which'.
> For example, 'type' recognizes 'bash' builtins. -- HansM 

Thanks for the information. "which" has worked on every unix-like system
I've used for 25 years.  I never knew that bash had its own extension.


-- 

DaveA




More information about the Python-list mailing list