Re: [Tutor] Python 3 - bugs or installation problem

2015-03-05 Thread Mark Lawrence
On 05/03/2015 08:10, Alan Gauld wrote: On 05/03/15 01:53, Phil wrote: I hope this is not another embarrassingly obvious answer to a simple question. Python 3, under Kubuntu. xrange() fails whereas range() is accepted. Could this be an installation problem? There are many incompatible changes

Re: [Tutor] Python 3 - bugs or installation problem

2015-03-05 Thread Jerry Hill
On Wed, Mar 4, 2015 at 8:53 PM, Phil wrote: > phil@Asus:~/Python$ python3 > Python 3.4.2 (default, Oct 8 2014, 13:18:07) > [GCC 4.9.1] on linux > Type "help", "copyright", "credits" or "license" for more information. for row in xrange(0,12): > ... print(row) > ... > Traceback (most recen

Re: [Tutor] Python 3 - bugs or installation problem

2015-03-05 Thread Alan Gauld
On 05/03/15 01:53, Phil wrote: I hope this is not another embarrassingly obvious answer to a simple question. Python 3, under Kubuntu. xrange() fails whereas range() is accepted. Could this be an installation problem? There are many incompatible changes in Python v3 compared with v2. Some are

Re: [Tutor] Python 3 - bugs or installation problem

2015-03-04 Thread Dave Angel
On 03/04/2015 09:11 PM, boB Stepp wrote: On Wed, Mar 4, 2015 at 7:53 PM, Phil wrote: I hope this is not another embarrassingly obvious answer to a simple question. Python 3, under Kubuntu. xrange() fails whereas range() is accepted. Could this be an installation problem? etc This may fall i

Re: [Tutor] Python 3 - bugs or installation problem

2015-03-04 Thread boB Stepp
On Wed, Mar 4, 2015 at 7:53 PM, Phil wrote: > I hope this is not another embarrassingly obvious answer to a simple > question. > > Python 3, under Kubuntu. > > xrange() fails whereas range() is accepted. Could this be an installation > problem? > etc This may fall into the obvious answer. ~(:>))