Like Tree3Likes
  • 1 Post By whiteflags
  • 1 Post By Neo1
  • 1 Post By phantomotap

Difference between Python 2 and Python 3?

This is a discussion on Difference between Python 2 and Python 3? within the Tech Board forums, part of the Community Boards category; I know it might be weired to be posting a thread about Python on this C programming influenced website/forums. But ...

  1. #1
    Registered User
    Join Date
    Mar 2014
    Posts
    1

    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
    Registered User whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    7,752
    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.

    https://duckduckgo.com/?q=python+2+python+3+diff

    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.
    anduril462 likes this.

  3. #3
    Internet Superhero
    Join Date
    Sep 2006
    Location
    Denmark
    Posts
    964
    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.
    Elkvis likes this.
    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
    Posts
    4,370
    If you know python 3, in general, you know python 2.x.
    O_o

    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.

    Soma
    Elkvis likes this.
    “Often out of periods of losing come the greatest strivings toward a new winning streak.” -- Fred Rogers
    “Salem Was Wrong!” -- Pedant Necromancer

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, 07:18 PM
  3. C and Python
    By alexnb185 in forum Tech Board
    Replies: 5
    Last Post: 04-12-2008, 12:11 AM
  4. Python
    By Xterria in forum A Brief History of Cprogramming.com
    Replies: 10
    Last Post: 05-05-2002, 05:08 PM
  5. Python help. Anyone?
    By Potato_Tempest in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 01-28-2002, 03:26 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21