Re:Python 2.7.7 released
by freehunter on Monday June 02, 2014 @03:10PM
(#7835343)
The biggest problem is many of the best tutorials are written in Python 2.7. Udacity's Intro to CS and Learn Python the Hard Way come to mind.
The python.org tutorial[0] is available in both 2 & 3, and is a perfectly great, but often overlooked, resource for learning the language.
Re:Python 2.7.7 released
by wldcordeiro on Sunday June 08, 2014 @06:27PM
(#7866157)
It is a great tutorial for someone with some programming experience but for complete beginners it's not adequate.
This is sadly true, although as Lennart's guide makes it clear many of those can trivially be updated to run on both. I'm hoping the next year leads to a lot of the simple updates happening so tutorial code can run against both — with `from __future__ import absolute_import, division, print_function, unicode_literals` quite a few programs can easily be single-source using only stock Python 2.7 / 3.4 without needing to introduce something like six.
Re:Python 2.7.7 released
by wldcordeiro on Tuesday June 03, 2014 @10:29AM
(#7840382)
The code in Learn Python the Hard Way is all really easy to port to Python 3 since it's written for new programmers, that said. New programmers won't know that.
Udacity is stuck with 2.7 until GAE supports Python 3.
http://python3wos.appspot.com/
The good news is that it's increasingly easy to write programs which run on both using newer idioms via __future__ backports, which is often both future proof and a way to write better code using newer language features which many people miss out on due to habit and old tutorials.
Lennart Regebro has a wonderful guide covering the changes and how to deal with them as painlessly as possible:
http://python3porting.com/differences.html