[Tutor] cannot open idle in 3.6 version but can in 2.7

2017-01-25 Thread Wiley, Brian
Hi there, I would like to learn and utilize both python versions. For some reason when access shell for 3.6 I get this message: "Your Python may not be configured for Tk. **", file=sys.__stderr__) How can I make sure both work? Brian Wiley GCO Sales Technology and Support | 1st Level Support

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

[Tutor] Feature or ... after python 2.7

2017-01-25 Thread source liu
Hi,list Yesterday, someone hacked in my server and running some bad thing , but I do find something interesting After I inspected processes, I found if you are using python version above 2.7. (2.7.16 if I remembered it correctly), one could run python script with perl $cat test.py #!/bin/env