Re: [Tutor] Feature or ... after python 2.7

2017-01-25 Thread Alan Gauld via Tutor
On 25/01/17 17:32, source liu wrote: >>> $cat test.py >>> #!/bin/env python >>> print "I am python" >>> >>> $perl test.py >>> I am python >>> >> >> That is just because this particular print statement >> is compatible with Perl. If you had tried anything >> more complex then it would have bombed.

Re: [Tutor] Feature or ... after python 2.7

2017-01-25 Thread source liu
On Wed, 25 Jan 2017 at 17:07 Alan Gauld via Tutor wrote: > On 25/01/17 02:55, source liu wrote: > > > 2.7. (2.7.16 if I remembered it correctly), one could run python script > > with perl > > > > $cat test.py > > #!/bin/env python > > print "I am python" > > > > > > $perl test.py > > I am python

Re: [Tutor] Feature or ... after python 2.7

2017-01-25 Thread Alan Gauld via Tutor
On 25/01/17 02:55, source liu wrote: > 2.7. (2.7.16 if I remembered it correctly), one could run python script > with perl > > $cat test.py > #!/bin/env python > print "I am python" > > > $perl test.py > I am python > That is just because this particular print statement is compatible with Pe