Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #24493

Re: Executing Python Scripts on Mac using Python Launcher

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 <d@davea.name>
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 <d@davea.name>
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 <hansmu@xs4all.nl>
Subject Re: Executing Python Scripts on Mac using Python Launcher
References <8b352333-23b5-4cfb-843d-29ffe1ef0905@googlegroups.com> <ee3e6f31-0a89-4409-94d3-88c164753c04@googlegroups.com> <4fea0a7b$0$6942$e4fe514c@news2.news.xs4all.nl> <mailman.1529.1340743349.4697.python-list@python.org> <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 <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1536.1340764768.4697.python-list@python.org> (permalink)
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

Show key headers only | View raw


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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Executing Python Scripts on Mac using Python Launcher David Thomas <dthomas86@me.com> - 2012-06-25 11:19 -0700
  Re: Executing Python Scripts on Mac using Python Launcher Benjamin Kaplan <benjamin.kaplan@case.edu> - 2012-06-25 12:49 -0700
    Re: Executing Python Scripts on Mac using Python Launcher David Thomas <dthomas86@me.com> - 2012-06-26 10:19 -0700
      Re: Executing Python Scripts on Mac using Python Launcher Dave Angel <d@davea.name> - 2012-06-26 13:37 -0400
        Re: Executing Python Scripts on Mac using Python Launcher David Thomas <dthomas86@me.com> - 2012-06-26 11:09 -0700
        Re: Executing Python Scripts on Mac using Python Launcher David Thomas <dthomas86@me.com> - 2012-06-26 11:09 -0700
        Re: Executing Python Scripts on Mac using Python Launcher Dave Angel <d@davea.name> - 2012-06-26 14:32 -0400
      Re: Executing Python Scripts on Mac using Python Launcher Benjamin Kaplan <benjamin.kaplan@case.edu> - 2012-06-26 11:56 -0700
      Re: Executing Python Scripts on Mac using Python Launcher Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-06-26 15:51 -0400
        Re: Executing Python Scripts on Mac using Python Launcher Hans Mulder <hansmu@xs4all.nl> - 2012-06-26 22:12 +0200
          Re: Executing Python Scripts on Mac using Python Launcher Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-06-26 18:35 -0400
          Re: Executing Python Scripts on Mac using Python Launcher Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-06-27 00:13 +0100
    Re: Executing Python Scripts on Mac using Python Launcher David Thomas <dthomas86@me.com> - 2012-06-26 10:19 -0700
  Re: Executing Python Scripts on Mac using Python Launcher David Thomas <dthomas86@me.com> - 2012-06-26 11:11 -0700
    Re: Executing Python Scripts on Mac using Python Launcher Hans Mulder <hansmu@xs4all.nl> - 2012-06-26 21:16 +0200
      Re: Executing Python Scripts on Mac using Python Launcher Dave Angel <d@davea.name> - 2012-06-26 16:41 -0400
        Re: Executing Python Scripts on Mac using Python Launcher Hans Mulder <hansmu@xs4all.nl> - 2012-06-26 23:48 +0200
          Re: Executing Python Scripts on Mac using Python Launcher Dave Angel <d@davea.name> - 2012-06-26 22:38 -0400
          Re: Executing Python Scripts on Mac using Python Launcher David Thomas <dthomas86@me.com> - 2012-06-27 10:05 -0700
            Re: Executing Python Scripts on Mac using Python Launcher Hans Mulder <hansmu@xs4all.nl> - 2012-06-27 20:29 +0200
              Re: Executing Python Scripts on Mac using Python Launcher David Thomas <dthomas86@me.com> - 2012-06-27 13:45 -0700
                Re: Executing Python Scripts on Mac using Python Launcher Hans Mulder <hansmu@xs4all.nl> - 2012-06-27 23:33 +0200

csiph-web