Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.023 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'python': 0.08; '>>>>': 0.09; 'from:addr:timgolden.me.uk': 0.09; 'from:name:tim golden': 0.09; 'message-id:@timgolden.me.uk': 0.09; '*always*': 0.16; 'billy': 0.16; 'received:74.55.86': 0.16; 'received:74.55.86.74': 0.16; 'received:smtp.webfaction.com': 0.16; 'received:webfaction.com': 0.16; 'cc:addr:python-list': 0.16; 'wrote:': 0.16; '>>>': 0.18; 'cc:no real name:2**0': 0.20; 'cc:2**0': 0.22; 'header:In-Reply-To:1': 0.22; 'pm,': 0.24; 'cc:addr:python.org': 0.30; 'tjg': 0.30; 'there': 0.33; 'header :User-Agent:1': 0.34; 'skip:# 10': 0.34; 'thank': 0.35; 'using': 0.37; 'run': 0.37; 'something': 0.37; 'think': 0.38; 'steven': 0.38; 'platform': 0.38; 'subject:: ': 0.39; 'received:192': 0.39; 'thinking': 0.40; 'order': 0.62; 'from:addr:mail': 0.64; 'believe': 0.65; 'making': 0.67; 'correction.': 0.84; 'ironic': 0.84; 'which.': 0.91; 'to:none': 0.93 Date: Fri, 05 Aug 2011 15:03:18 +0100 From: Tim Golden User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 CC: python-list@python.org Subject: Re: PyWhich References: <4e3b3ab2$0$29971$c3e8da3$5496439d@news.astraweb.com> <4e3bf554$0$29976$c3e8da3$5496439d@news.astraweb.com> In-Reply-To: <4e3bf554$0$29976$c3e8da3$5496439d@news.astraweb.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 23 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1312553002 news.xs4all.nl 23975 [2001:888:2000:d::a6]:60974 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:10901 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