The installer of some applications will replace the shebang to refer to a
specific version of Python. By doing so, it avoids problems when someone
upgrades the default Python version in the PATH.
On Nov 14, 2015 11:00 PM, "eryksun" wrote:
> On Sat, Nov 14, 2015 at 8:26 PM,
On 11/14/2015 06:54 PM, fl wrote:
> Hi,
>
> I see an example Python code has such a line at the file beginning:
>
> #!python
>
>
> Is there some meaning about it?
Supposed to be, yes, but the line you've pasted there wouldn't work on
any system I know of.
On Sat, Nov 14, 2015 at 7:58 PM, Chris Angelico wrote:
> On Sun, Nov 15, 2015 at 12:54 PM, fl 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
On Saturday, November 14, 2015 at 8:58:57 PM UTC-5, Chris Angelico wrote:
> On Sun, Nov 15, 2015 at 12:54 PM, fl 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
On Sun, Nov 15, 2015 at 12:54 PM, fl 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
On Sun, Nov 15, 2015 at 1:13 PM, fl 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
On 15/11/15 10:18, Chris Angelico wrote:
> On Sun, Nov 15, 2015 at 1:13 PM, fl 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
>
On Sat, Nov 14, 2015 at 8:26 PM, Zachary Ware
wrote:
>
> "#!python" is a valid shebang for the Python Launcher for Windows.
> It's also a not-too-terrible placeholder for a Unix shebang meaning
> "whichever Python you want it to be". The better choice for use with
Hi,
I see an example Python code has such a line at the file beginning:
#!python
Is there some meaning about it?
Thanks,
--
https://mail.python.org/mailman/listinfo/python-list