Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python 2 or Python 3? Which should I begin with? [closed]

Tags:

python

I found two "duplicate" questions, but considering they're about two years old, I figured it might be a good idea to see a more recent opinion.

I want to learn Python, but I don't know if I should start with Python 3 because it's newer, or if I should start with Python 2?

I come from a C#, Java, PHP, and HTML/CSS background. So I know the general specifics of programming. I'd like to add yet-another-programming-language to that list as a fun exercise and learning experience.

like image 385
Zack Avatar asked Mar 29 '11 20:03

Zack


1 Answers

There are few differences, but they are quite significant (strings vs bytes mostly).

If you wish to mess around, go for Python 3. If you wish to get something done, use Python 2.(7). There are few libraries that currently support Py3.

like image 157
The Communist Duck Avatar answered Sep 30 '22 16:09

The Communist Duck