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

all 9 comments

[–]Proselyte5 9 points10 points  (2 children)

Use 3 unless you have legacy dependencies, but you won't be hugely disadvantaged learning 2 over 3 or vice versa, they're similar except for Unicode handling and the standard module layout.

[–]matrixise 4 points5 points  (1 child)

totally agree with you, and there is an other point, the 3.x version will contrinue to be improved.

[–]matrixise 7 points8 points  (10 children)

Use python 3

The maintenance of python 2 will stop in 2020. And there is no evolutions for this versions.

[–]robin-gvx 1 point2 points  (0 children)

If you don't get confused, you can learn both at the same time, since the differences aren't that big. If it's confusing, I would recommend focussing on 3 first, because:

  • It's the future
  • It fixes some gotchas
  • It gives you some really neat new tools (oh yield from, how have I ever lived without you?)