Re: Which Version of Python?

Discussion in 'Python' started by Ramchandra Apte, Sep 12, 2012.

  1. On Tuesday, 11 September 2012 22:19:08 UTC+5:30, Charles Hottel wrote:
    > I have a lot of programming experience in many different languages and now
    >
    > I want to learn Python. Which version do you suggest I download, Python 2.x
    >
    > or Python 3.x ? Also why should I prefer one over the other?
    >
    >
    >
    > Right now I am thinkng Python 3.x as it has been out since 2008, but I have
    >
    > some concerns about backward compatibility with older packages that I might
    >
    > want to use.
    >
    >
    >
    > Thanks for your ideas and help.


    Use Python 3 because most packages support Python 3. Python 2.7 has many features that Python 3 has so it will require minimal effort to write Python 2.x code.
     
    Ramchandra Apte, Sep 12, 2012
    #1
    1. Advertisements

  2. [ Ramchandra Apte wrote on Tue 11.Sep'12 at 19:58:29 -0700 ]

    > On Tuesday, 11 September 2012 22:19:08 UTC+5:30, Charles Hottel wrote:
    > > I have a lot of programming experience in many different languages and now
    > >
    > > I want to learn Python. Which version do you suggest I download, Python 2.x
    > >
    > > or Python 3.x ? Also why should I prefer one over the other?
    > >
    > >
    > >
    > > Right now I am thinkng Python 3.x as it has been out since 2008, but I have
    > >
    > > some concerns about backward compatibility with older packages that I might
    > >
    > > want to use.
    > >
    > >
    > >
    > > Thanks for your ideas and help.

    >
    > Use Python 3 because most packages support Python 3. Python 2.7 has many features that Python 3 has so it will require minimal effort to write Python 2.x code.


    When I first started to learn Python - about a year ago - I got myself a book which focuses on version 3 but is does also include Version 2. The author wrote that because a number of supporting libraries have not been updated to work in Python 3, and where "it is felt that the theory still needs to be expounded upon" Python 2.x will be used in lieu of Python 3. I personally, as a beginner, have found this approach helpful. Although, when this book was published Python 3.1 was the latest release, so of course since then said libraries most probably have been updated. So, as a fellow beginner i'd go for version 3.x.

    Jamie.
     
    Jamie Paul Griffin, Sep 12, 2012
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Kenny
    Replies:
    0
    Views:
    582
    Kenny
    Jun 2, 2004
  2. Gerard Breiner

    MySQLdb which version for python 2.2.2

    Gerard Breiner, Feb 4, 2004, in forum: Python
    Replies:
    1
    Views:
    483
    Jarek Zgoda
    Feb 4, 2004
  3. LizzyLiz
    Replies:
    1
    Views:
    377
    Mike Driscoll
    Jan 24, 2008
  4. MowGreen [MVP]
    Replies:
    5
    Views:
    2,360
    PA Bear [MS MVP]
    Feb 9, 2008
  5. OldGrantonian
    Replies:
    12
    Views:
    825
    OldGrantonian
    May 8, 2009
  6. Vinay Sajip
    Replies:
    0
    Views:
    367
    Vinay Sajip
    Jul 4, 2009
  7. Kee Nethery
    Replies:
    8
    Views:
    410
    Dennis Lee Bieber
    Sep 14, 2009
  8. Patrick
    Replies:
    0
    Views:
    253
    Patrick
    Sep 1, 2003
Loading...