PyWhich

Steven D'Aprano steve+comp.lang.python at pearwood.info
Fri Aug 5 15:51:16 CEST 2011


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.



-- 
Steven




More information about the Python-list mailing list