Re: Python 2 vs Python 3 for teaching

2015-11-02 Thread Chris Angelico
On Tue, Nov 3, 2015 at 12:15 AM, beliavsky--- via Python-list wrote: > I think Python 2.x is still used more than Python 3.x in scientific > computing. The Python books I have in this area, such as "Python for Finance: > Analyze Big Financial Data" and "Python for Data Analysis", still use Pytho

Re: Python 2 vs Python 3 for teaching

2015-11-02 Thread beliavsky--- via Python-list
I think Python 2.x is still used more than Python 3.x in scientific computing. The Python books I have in this area, such as "Python for Finance: Analyze Big Financial Data" and "Python for Data Analysis", still use Python 2.x . An aspiring computational scientist, data scientist, or financial q

Re: Python 2 vs Python 3 for teaching

2015-11-01 Thread Ben Finney
writes: > This would make an excellent opportunity to develop a curriculum to > teach students how to maintain a 2.x and 3.x code base using 2to3. The advice today reflects the great progress that has been made over many years of migrating projects and organisations to Python 3. Instead of ‘2to

Re: Python 2 vs Python 3 for teaching

2015-11-01 Thread Chris Angelico
On Mon, Nov 2, 2015 at 6:47 AM, Paul Rubin wrote: > Chris Angelico writes: >> We teach 3.4 (because that's what's available on the Ubuntu VMs that >> we're recommending; anything 3.2+ will probably work just the same), >> and that's it. > > The async keyword seems like one of Py3's bigger improve

Re: Python 2 vs Python 3 for teaching

2015-11-01 Thread Paul Rubin
Chris Angelico writes: > We teach 3.4 (because that's what's available on the Ubuntu VMs that > we're recommending; anything 3.2+ will probably work just the same), > and that's it. The async keyword seems like one of Py3's bigger improvements and it makes its appearance in 3.5, iirc. -- https:/

Re: Python 2 vs Python 3 for teaching

2015-11-01 Thread Chris Angelico
On Mon, Nov 2, 2015 at 1:49 AM, Laura Creighton wrote: >>I'd rather not use 2to3 there. If you want to maintain a library that >>can be used from 2.x and 3.x, it's much better to aim for the >>compatible middle - u prefixes on all Unicode strings, b prefixes on >>all byte strings, stick to ASCII w

Re: Python 2 vs Python 3 for teaching

2015-11-01 Thread Laura Creighton
In a message of Mon, 02 Nov 2015 01:27:24 +1100, Chris Angelico writes: >On Mon, Nov 2, 2015 at 1:11 AM, wrote: >> On Nov 1, 2015 2:45 AM, "Chris Angelico" wrote: >>> >>> I'm proud to say that a Python tutoring company has just converted its >>> course over from teaching Python 2.7 to teaching 3

Re: Python 2 vs Python 3 for teaching

2015-11-01 Thread Chris Angelico
On Mon, Nov 2, 2015 at 1:11 AM, wrote: > On Nov 1, 2015 2:45 AM, "Chris Angelico" wrote: >> >> I'm proud to say that a Python tutoring company has just converted its >> course over from teaching Python 2.7 to teaching 3.x. For the >> naysayers out there, it actually wasn't much of a transition;

Re: Python 2 vs Python 3 for teaching

2015-11-01 Thread paul.hermeneutic
On Nov 1, 2015 2:45 AM, "Chris Angelico" wrote: > > I'm proud to say that a Python tutoring company has just converted its > course over from teaching Python 2.7 to teaching 3.x. For the > naysayers out there, it actually wasn't much of a transition; This would make an excellent opportunity to de