PyWhich
Tim Golden
mail at timgolden.me.uk
Fri Aug 5 10:03:18 EDT 2011
On 05/08/2011 14:51, Steven D'Aprano wrote:
> Tim Chase wrote:
>
>> On 08/04/2011 07:34 PM, Steven D'Aprano wrote:
>>> Billy Mays wrote:
>>>> #!/usr/bin/python
>>>
>>> I believe the recommended, platform independent hash-bang line is
>>>
>>> #!/usr/bin/which python
>>
>> I think you mean
>>
>> #!/usr/bin/env python
>
>
> Doh! I *always* conflate env and which. Thank you for the correction.
And there I was thinking you were making a sly and ironic point
about using a utility to find something on the path in order to
run a utility which finds something on the path...
TJG
More information about the Python-list
mailing list