Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #51223
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <mclefavor@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.007 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'interpreter': 0.05; 'mrab': 0.05; 'say,': 0.05; 'subject:Python': 0.06; 'python3': 0.07; 'collier': 0.09; 'default.': 0.09; 'override': 0.09; 'python': 0.11; 'wrote:': 0.18; 'thu,': 0.19; 'version.': 0.19; 'preferred': 0.22; 'form:': 0.24; 'him.': 0.24; 'script': 0.25; 'skip:" 20': 0.27; 'header:In-Reply-To:1': 0.27; 'installed': 0.27; 'point': 0.28; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'skip:( 20': 0.30; 'url:mailman': 0.30; '25,': 0.31; 'minor': 0.31; 'with,': 0.31; 'another': 0.32; 'url:python': 0.33; 'skip:& 30': 0.33; 'johnson': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'version': 0.36; 'url:listinfo': 0.36; 'url:org': 0.36; 'being': 0.38; 'system,': 0.38; 'skip:& 10': 0.38; 'work?': 0.38; 'to:addr:python-list': 0.38; 'rather': 0.38; 'skip:& 20': 0.39; 'to:addr:python.org': 0.39; 'users': 0.40; 'url:mail': 0.40; 'hope': 0.61; 'back': 0.62; 'latest': 0.67; 'jul': 0.74; 'actually,': 0.84; '2013': 0.98 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=pFPSr3nggbqCtpVf2uSbZiSJPRy32EHBqgxEhawaw5Y=; b=q1vTXxYB5tqxxnT1IpyIVuSKYhOKEs4ap+tpqUSkzOS7RgCNVo+TZ1JmVQNpP95WRm asPl7IDwZQWfkh14E+VrLFEEiqFJNVebGxAZuw1zh+OIo1DwL3D3IqTZ6k9kEz/2ZJcB aDuG5pTQN+PuNKRKhl961u7IGG5VC6K0zTaZP2CALw5h6NlI5RtQxmhL8TBdbKS4pkOj M6MT4gbedBZsX9CkUKoxxolCJcOaIo/wbHaxyxA+JXLdiqKP8G6VoY49MKbrqzzOP6Sy DcyrjTC4rIUc+t4AfkRmUu/9o/KjUhq7BPFx+RxBTJZOeqbTIBL30Y0+Sm3rooOmLn5Y Dvuw== |
| X-Google-DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=pFPSr3nggbqCtpVf2uSbZiSJPRy32EHBqgxEhawaw5Y=; b=MH2gVOqwGMS9jR7sGsN3Mu9nO2kI7OQVw/hfT0WvzA4sA/9XxxNY1dBdgLcDS70Y70 9GinzEOTMvItBg6tkRoBZ5+LPK0Wz/O/p33ZUrmD4QPc2TXzdsXGfEsMv8qkHhllTPux ThbNDM/pJoIpRVkVxeNZSVl4kYBZ6Ox5LK8xSAOZ8WJ4Bb/MmNYfFtoM95K/aSe1mH/t MfzuYBxDGeeAehLmHWw/wlG0Ztw99R2vzf3vaKkb1FgbuSEwQO9oum07c57/0TSv88TJ KqBFJA9lXNIo19HIxMsjSebA6e0JmbGI7a6zjBvDssjxXFeaTymiXEgwGPTyq4bsLy0G E51A== |
| X-Received | by 10.50.127.167 with SMTP id nh7mr338580igb.34.1374760934116; Thu, 25 Jul 2013 07:02:14 -0700 (PDT) |
| MIME-Version | 1.0 |
| In-Reply-To | <51F12E31.1070502@mrabarnett.plus.com> |
| References | <51F12B41.3050004@Gmail.com> <51F12E31.1070502@mrabarnett.plus.com> |
| From | Matthew Lefavor <mclefavor@gmail.com> |
| Date | Thu, 25 Jul 2013 10:01:33 -0400 |
| Subject | Re: Python Script Hashplings |
| To | python-list@python.org |
| Content-Type | multipart/alternative; boundary=089e013a260c2116ed04e256798a |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| 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.5099.1374760944.3114.python-list@python.org> (permalink) |
| Lines | 76 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1374760944 news.xs4all.nl 16012 [2001:888:2000:d::a6]:60242 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:51223 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
The answer is "probably not." If you just want to use the latest version of Python 3 you have installed on your system, use: "#!/usr/bin/python3". When you use the specific minor version numbers, they point to that specific minor version. Actually, the preferred shebang line is of the form: "#!/usr/bin/env python3". This way the end users can override the interpreter with, say, a virtualenv, rather than being stuck with the system default. On Thu, Jul 25, 2013 at 9:54 AM, MRAB <python@mrabarnett.plus.com> wrote: > On 25/07/2013 14:42, Devyn Collier Johnson wrote: > >> If I execute a Python3 script with this haspling (#!/usr/bin/python3.3) >> and Python3.3 is not installed, but Python3.2 is installed, would the >> script still work? Would it fall back to Python3.2? >> >> Why don't you try it? > > > I hope Dihedral is listening. I would like to see another response from >> HIM. >> >> > -- > http://mail.python.org/**mailman/listinfo/python-list<http://mail.python.org/mailman/listinfo/python-list> >
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Python Script Hashplings Matthew Lefavor <mclefavor@gmail.com> - 2013-07-25 10:01 -0400
csiph-web