Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.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.005 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.05; 'bash': 0.07; 'builtin': 0.07; 'python': 0.09; 'command.': 0.09; 'extension.': 0.09; 'subject:using': 0.09; 'cc:addr:python-list': 0.10; 'builtins.': 0.16; 'subject:Mac': 0.16; 'wrote:': 0.17; 'interpret': 0.22; 'tells': 0.22; 'cc:2**0': 0.23; "i've": 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header :In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'separate': 0.27; 'no,': 0.29; 'worked': 0.30; 'program,': 0.34; 'thanks': 0.34; 'pm,': 0.35; 'subject:: ': 0.38; 'received:192': 0.39; 'received:192.168': 0.40; 'more': 0.63; 'header:Reply-To:1': 0.68; 'user,': 0.69; 'received:74.208': 0.71; 'reply-to:no real name:2**0': 0.72; 'angel': 0.93 Date: Tue, 26 Jun 2012 22:38:54 -0400 From: Dave Angel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 MIME-Version: 1.0 To: Hans Mulder Subject: Re: Executing Python Scripts on Mac using Python Launcher References: <8b352333-23b5-4cfb-843d-29ffe1ef0905@googlegroups.com> <4fea0a7b$0$6942$e4fe514c@news2.news.xs4all.nl> <4fea2e26$0$6883$e4fe514c@news2.news.xs4all.nl> In-Reply-To: <4fea2e26$0$6883$e4fe514c@news2.news.xs4all.nl> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:IHBGzuIEKJ9ygDs9e/SxAoy7VYH/ZOhiW7Pjd7nUieO Xz67/q8hFGLFy97yH9hLUgfJWgVKGChO75jZgZw6sTtVhTOrsa uXaqDz7rMs8c7MVXy7RqVsZADUTP9+fDQQSySfQ29yRY/xiKQ1 EnNvhuVqjsARkTQwiRP8DDQG1Qb/rjR842KsBNMN/UhualeY7G FiI88uokMpnfpdmEtvegjJpOuXlREHgXBWorjgGH1KQRSc5My0 INTo3bgpmXcNtf41t4qIJGosi1deWyucFBD5PwTgT4Vy5IMGCh WtroS27/rgz9mE/VyVO26Qut4KXbG/WGsHbCOtBK2cEkCDaJA= = Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: d@davea.name 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: 19 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1340764768 news.xs4all.nl 6891 [2001:888:2000:d::a6]:38729 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:24493 On 06/26/2012 05:48 PM, Hans Mulder wrote: > On 26/06/12 22:41:59, Dave Angel wrote: > > 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