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. Advertising

  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. Advertising

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:
    489
    Kenny
    Jun 2, 2004
  2. V Green
    Replies:
    0
    Views:
    931
    V Green
    Feb 5, 2008
  3. PA Bear [MS MVP]
    Replies:
    0
    Views:
    1,043
    PA Bear [MS MVP]
    Feb 5, 2008
  4. MowGreen [MVP]
    Replies:
    5
    Views:
    2,085
    PA Bear [MS MVP]
    Feb 9, 2008
  5. Patrick
    Replies:
    0
    Views:
    168
    Patrick
    Sep 1, 2003
Loading...

Share This Page