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


Groups > comp.lang.python > #98839

Re: What meaning is of '#!python'?

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Subject Re: What meaning is of '#!python'?
Date Sun, 15 Nov 2015 12:58:39 +1100
Lines 16
Message-ID <mailman.340.1447552722.16136.python-list@python.org> (permalink)
References <ed2472ca-7efb-4676-b49e-356260dd533c@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
X-Trace news.uni-berlin.de xp2yKiK4lZ/r7NL6rvPIEwObdFAl90d9RxzmJ++iN4Rw==
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.034
X-Spam-Evidence '*H*': 0.93; '*S*': 0.00; 'cc:addr:python-list': 0.09; 'python': 0.10; 'subject:python': 0.14; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'wrote:': 0.16; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'header:In-Reply-To:1': 0.24; 'example': 0.26; 'message-id:@mail.gmail.com': 0.27; 'that.': 0.30; 'code': 0.30; '15,': 0.30; 'probably': 0.31; 'doubt': 0.33; 'file': 0.34; 'received:google.com': 0.35; 'nov': 0.35; 'asking': 0.35; 'but': 0.36; 'there': 0.36; 'received:209.85': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'received:209.85.213': 0.37; 'received:209': 0.38; "didn't": 0.39; 'rather': 0.39; 'called': 0.40; 'some': 0.40; 'please,': 0.63; 'chrisa': 0.84; 'to:none': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=aY5XPpc4UDHQoILqio3YDl5/FYFGj5VPM0ZjC/zJgYM=; b=ecTuB7Ct1y+eeLh0FLgyPZfHrpFHxOr3il1ejlbtWdTpX8I8ljWNJoN6KExWoCqhtD OEMkfDSXOpW8R2eICTSEYTSEEGOvsYEMPf28Mzbrzqi18P7Zo7pWoFa4HBWuSjKoC6Ys 4v0sPNED0F1SEKecdManGwoIbqvhLG4KPFEtCzetN1Uf9Zywley71X+DyMiVbqe17+Wg oBmpb7zcal5U7skwYzzptr6P6oRq28HdW7+neWQQGQGnnlK0A/QpbdOysjGpXnZKuOzn ey8lW1T06x58zO7Fc9zRkoNwo87yg4Z/25aq9sWOskkSYlSHjJibEGfIwPPfZPYBNCFn QxRA==
X-Received by 10.50.30.6 with SMTP id o6mr10892917igh.94.1447552719591; Sat, 14 Nov 2015 17:58:39 -0800 (PST)
In-Reply-To <ed2472ca-7efb-4676-b49e-356260dd533c@googlegroups.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Xref csiph.com comp.lang.python:98839

Show key headers only | View raw


On Sun, Nov 15, 2015 at 12:54 PM, fl <rxjwg98@gmail.com> wrote:
> I see an example Python code has such a line at the file beginning:
>
> #!python
>
>
> Is there some meaning about it?

It probably didn't look exactly like that. Please, when you're asking
questions, COPY AND PASTE rather than retyping some approximation of
what you saw.

As it happens, I can tell what you're asking about - it's called a
shebang - but I very much doubt that it was exactly what you wrote.

ChrisA

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


Thread

What meaning is of '#!python'? fl <rxjwg98@gmail.com> - 2015-11-14 17:54 -0800
  Re: What meaning is of '#!python'? Chris Angelico <rosuav@gmail.com> - 2015-11-15 12:58 +1100
    Re: What meaning is of '#!python'? fl <rxjwg98@gmail.com> - 2015-11-14 18:13 -0800
      Re: What meaning is of '#!python'? Chris Angelico <rosuav@gmail.com> - 2015-11-15 13:18 +1100
      Re: What meaning is of '#!python'? Rob Hills <rhills@medimorphosis.com.au> - 2015-11-15 11:10 +0800
  Re: What meaning is of '#!python'? Zachary Ware <zachary.ware+pylist@gmail.com> - 2015-11-14 20:26 -0600
  Re: What meaning is of '#!python'? Michael Torrie <torriem@gmail.com> - 2015-11-14 19:28 -0700
  Re: What meaning is of '#!python'? eryksun <eryksun@gmail.com> - 2015-11-14 23:57 -0600
  Re: What meaning is of '#!python'? <paul.hermeneutic@gmail.com> - 2015-11-15 21:54 -0700

csiph-web