Thread: Difference between Python 2 and Python 3?

  1. #1
    Registered User
    Join Date
    Mar 2014

    Difference between Python 2 and Python 3?

    I know it might be weired to be posting a thread about Python on this C programming influenced website/forums. But anyways, I'm a 13 year old turning 14 soon, and I'm a noob or a beginner in programming. I've read several articles saying that Python is one of (if not the easiest) programming language to learn as a first language, and I need your help "experienced" programmers on whether I should start with Python 2 or Python 3, basically which one is easier to get used to? I already started to learn basics in Python 2, so I'm personally leaning towards Python 2. But it's never hard to switch (in some cases :P)

    *Python programmers please answer.
    *Should I learn a different programming language?

  2. #2
    Lurking whiteflags's Avatar
    Join Date
    Apr 2006
    United States
    I've used both versions. If I had to compare the situation with python 2.x and python 3, and what the difference is, and what that means for programming generally, it's like the difference between C90 and C99. They are different standards of the same language. Both versions have their applications.

    For learning though, you have no reason not to learn python 3 first. If you know python 3, in general, you know python 2.x.

  3. #3
    Internet Superhero
    Join Date
    Sep 2006
    Python has two active versions: One you're not supposed to use and one you can't.

    Go for Python 2.7.6, i believe it is the most widely used version.
    How I need a drink, alcoholic in nature, after the heavy lectures involving quantum mechanics.

  4. #4
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    If you know python 3, in general, you know python 2.x.

    As far as it goes, the reverse is also true. You don't learn the "fiddly bits" in either direction, but most of the core facilities--notables like `print' besides--will be familiar.

    In any event, I'd recommend Python 2; the support of libraries is more common with Python 2.

    “Salem Was Wrong!” -- Pedant Necromancer
    “Four isn't random!” -- Gibbering Mouther

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Python to C++
    By adr in forum C++ Programming
    Replies: 2
    Last Post: 12-07-2011, 03:37 PM
  2. Python --> C
    By Macha in forum C Programming
    Replies: 71
    Last Post: 05-28-2010, 06:18 PM
  3. C and Python
    By alexnb185 in forum Tech Board
    Replies: 5
    Last Post: 04-11-2008, 11:11 PM
  4. Python
    By Xterria in forum A Brief History of
    Replies: 10
    Last Post: 05-05-2002, 04:08 PM
  5. Python help. Anyone?
    By Potato_Tempest in forum A Brief History of
    Replies: 0
    Last Post: 01-28-2002, 03:26 PM