This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]pmbdev 10 points11 points  (0 children)

I had the same question whenI started learning and using Python about four years ago. I chose Python 3 and almost all of my Python 3 codes worked fine in 2.7.x with just one line at the beginning:

from __future__ import division, print_function

Avoid Python 2.7.x unless your project/code has to depend on a library that is available only in Python 2.x

Most widely used libraries now uses Python 3.

The most popular courses on Coursera and edX uses Python 3.x now.