Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #16591

Re: Python 2 or 3

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <arnodel@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.005
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'python,': 0.01; 'python.': 0.04; 'subject:Python': 0.05; "o'reilly": 0.07; 'python': 0.08; 'imho.': 0.09; 'obsolete': 0.09; 'pages.': 0.09; 'antti': 0.16; '\xc2\xa0i': 0.16; 'cc:addr:python-list': 0.16; 'language': 0.17; 'wrote:': 0.18; 'cc:no real name:2**0': 0.20; 'programming': 0.21; 'header:In-Reply-To:1': 0.22; 'equally': 0.23; 'cc:2**0': 0.24; 'code': 0.25; "i'm": 0.26; 'language.': 0.28; 'message- id:@mail.gmail.com': 0.28; 'problem': 0.29; 'cc:addr:python.org': 0.29; 'rather': 0.33; 'there': 0.33; 'mostly': 0.34; 'url:python': 0.36; 'received:209.85.161': 0.36; 'two': 0.37; 'but': 0.37; 'received:google.com': 0.37; '1200': 0.38; '2nd': 0.38; 'authors': 0.38; 'some': 0.38; 'received:209.85': 0.38; 'url:org': 0.39; 'either': 0.39; 'mark': 0.39; 'received:209': 0.40; 'one,': 0.40; '2011': 0.61; 'covers': 0.64; 'hands': 0.64; 'edition,': 0.67; '4th': 0.68; 'valuable': 0.69; 'invest': 0.80; 'speak,': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=uFk4ze3aFX5YpXq/atOZXT1CdrWEv7gSuHeQkDgeYHs=; b=cshgFqMZTMIGuPIzL7vJZ5Wy9mWbm0wUBJZjHQZHEENCkEyv06tVdG3Rciivabygjx 8OcUq2DMA+kLUOlHJ/wY2oreN7hhWoOo78V3ZyDEwDBsGhyPbkvqtAorT4ZLoecqXGA1 u8QEGkgUzw8b8n0ql+HANh6m5gbMa2V3fKuEY=
MIME-Version 1.0
In-Reply-To <O3hCq.1112$Ci1.79@uutiset.elisa.fi>
References <O3hCq.1112$Ci1.79@uutiset.elisa.fi>
Date Sat, 3 Dec 2011 12:03:14 +0000
Subject Re: Python 2 or 3
From Arnaud Delobelle <arnodel@gmail.com>
To Antti J Ylikoski <antti.ylikoski@tkk.fi>
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3250.1322913798.27778.python-list@python.org> (permalink)
Lines 26
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1322913798 news.xs4all.nl 6841 [2001:888:2000:d::a6]:52628
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:16591

Show key headers only | View raw


On 3 December 2011 03:54, Antti J Ylikoski <antti.ylikoski@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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Python 2 or 3 Antti J Ylikoski <antti.ylikoski@tkk.fi> - 2011-12-03 05:54 +0200
  Re: Python 2 or 3 Gnarlodious <gnarlodious@gmail.com> - 2011-12-02 20:10 -0800
  Re: Python 2 or 3 Andrew Berg <bahamutzero8825@gmail.com> - 2011-12-02 22:20 -0600
  Re: Python 2 or 3 Roy Smith <roy@panix.com> - 2011-12-02 23:27 -0500
  Re: Python 2 or 3 Dan Stromberg <drsalists@gmail.com> - 2011-12-02 20:42 -0800
  Re: Python 2 or 3 Terry Reedy <tjreedy@udel.edu> - 2011-12-03 01:23 -0500
  Re: Python 2 or 3 Andrew Berg <bahamutzero8825@gmail.com> - 2011-12-03 00:37 -0600
  Re: Python 2 or 3 Andrew Berg <bahamutzero8825@gmail.com> - 2011-12-03 00:41 -0600
  Re: Python 2 or 3 jmfauth <wxjmfauth@gmail.com> - 2011-12-03 00:59 -0800
  Re: Python 2 or 3 Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-12-03 10:04 +0000
    Re: Python 2 or 3 Chris Angelico <rosuav@gmail.com> - 2011-12-03 21:44 +1100
  Re: Python 2 or 3 Arnaud Delobelle <arnodel@gmail.com> - 2011-12-03 12:03 +0000
  Re: Python 2 or 3 Gelonida N <gelonida@gmail.com> - 2011-12-03 21:59 +0100
  Re: Python 2 or 3 Chris Angelico <rosuav@gmail.com> - 2011-12-04 13:52 +1100
  Re: Python 2 or 3 Terry Reedy <tjreedy@udel.edu> - 2011-12-03 21:52 -0500
  Re: Python 2 or 3 Chris Angelico <rosuav@gmail.com> - 2011-12-04 14:02 +1100
  Re: Python 2 or 3 Zaphod <zaphod@beeblebrox.net> - 2011-12-04 20:18 +0000
  Re: Python 2 or 3 Tobiah <tobiah@teranews.com> - 2011-12-06 09:33 -0800
    Re: Python 2 or 3 Enrico 'Henryx' Bianchi <henryx_b@yahoo.it> - 2011-12-10 00:16 +0100
      Re: Python 2 or 3 Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-12-10 00:19 +0000
        Re: Python 2 or 3 Enrico 'Henryx' Bianchi <henryx_b@yahoo.it> - 2011-12-10 12:49 +0100

csiph-web