Python 2 or 3

Arnaud Delobelle arnodel at gmail.com
Sat Dec 3 07:03:14 EST 2011


On 3 December 2011 03:54, Antti J Ylikoski <antti.ylikoski at tkk.fi> wrote:
>
> I'm in the process of learning Python.  I already can code
> objet-oriented programs with the language.  I have in my hands the
> O'Reilly book by Mark Lutz, Programming Python, in two versions: the
> 2nd Edition, which covers Python 2, and the 4th edition, which covers
> Python 3.
>
> In the "official Python site" so to speak, http://www.python.org, it
> is mentioned that the authors recommend the visitor, who is a novice,
> to learn Python 2 rather than Python 3, because most of existing
> software has been writen with Python 2.
>
> The O'Reilly book has some 1200 pages.  I would not want to invest
> such an amount of work and time to an obsolete language (i. e. Python
> 2).

Python 2 and Python 3 are mostly the same language.  Learning either
will be equally valuable IMHO.  There are some significant differences
but if you have a good understanding of one, you will have no problem
adapting very quickly to the other.

And Python 2 is definitely not obsolete :)

-- 
Arnaud



More information about the Python-list mailing list