What meaning is of '#!python'?

Chris Angelico rosuav at gmail.com
Sat Nov 14 21:18:30 EST 2015


On Sun, Nov 15, 2015 at 1:13 PM, fl <rxjwg98 at 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



More information about the Python-list mailing list