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


Groups > comp.lang.python > #98842

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 13:18:30 +1100
Lines 13
Message-ID <mailman.341.1447553914.16136.python-list@python.org> (permalink)
References <ed2472ca-7efb-4676-b49e-356260dd533c@googlegroups.com> <mailman.340.1447552722.16136.python-list@python.org> <3aa2f352-ea19-4252-9a09-c884887cf810@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
X-Trace news.uni-berlin.de ML8OJOa1HFU57P0bhF/7FAcu0mwRnqfZXmPwMITVnVvQ==
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'received:209.85.223': 0.03; 'cc:addr:python-list': 0.09; 'ignore': 0.14; 'subject:python': 0.14; '.py': 0.16; '1:13': 0.16; 'abusing': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'numpy': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'wrote:': 0.16; 'copied': 0.18; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'file:': 0.22; '(or': 0.23; 'import': 0.24; 'header:In-Reply-To:1': 0.24; "doesn't": 0.26; 'message- id:@mail.gmail.com': 0.27; 'starts': 0.29; '15,': 0.30; 'received:google.com': 0.35; 'nov': 0.35; 'received:209.85': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'received:209': 0.38; 'someone': 0.38; 'chrisa': 0.84; 'to:none': 0.91; 'comment.': 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=fC1Zf/LB3OuPUlGnumMy1f7m+hZaT0Wvi3RHzswrUnM=; b=gW/aMcVaw1uMk0ywb5Aka+w3sm8x3HxmRWsq2MsCodPzf7tY4Oht8F97UgIdSkd0Dm tFxEYi2NtVQdHG+MHw8Qg8eUgtK2//+K52gpAXwA5u0cakvbslHWx448i9u2PHtf2auj NTzmvKkNX/QP6Au8M3+BmKDc04n/qX/LC/yFzldyxIdaZ3ION2VzdcjdYSj1STkAIMVf zznfYCRtaWIadaPU5gP1C43hgAc/vC+NZTK94aHFl0F3TnVe4ajIzusoevi1zm+ajCK5 Vy6j/q7TkT1G24dcYURxDKOXYig8YbBYy4C7qGWZBZ7vz4qrmxnZK2wgr5hIlDp205nK emQw==
X-Received by 10.107.3.163 with SMTP id e35mr15660455ioi.157.1447553910978; Sat, 14 Nov 2015 18:18:30 -0800 (PST)
In-Reply-To <3aa2f352-ea19-4252-9a09-c884887cf810@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:98842

Show key headers only | View raw


On Sun, Nov 15, 2015 at 1:13 PM, fl <rxjwg98@gmail.com> wrote:
> Excuse me. Below is copied from the .py file:
>
> #!python
> from numpy import *
> from numpy.random import *
>

Then someone doesn't know how to use a shebang (or is deliberately
abusing it), and you can ignore it. It starts with a hash, ergo it's a
comment.

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