At this point I would say to learn 3. While there will still be legacy 2.7 code for a long time, most (all?) new projects are started in 3. Pretty much every library has been ported to 3, with a few exceptions that probably don’t matter to you.
If there is a Python 4, it wouldn’t be a breaking release. They might just have 4.0 be the release after 3.9.
Which one? 2? 3? 4?!
I was not trolling (downvoted for this reason darnit).
I’m serious. The people I’ve talked to have said, learn 2.7 and forget about 3. Now 4 is on the horizon. So, what do people here think?
Python 4 is on the horizon? This is the first I hear of that. Anyway, I don’t believe it will bring any breaking changes.
I consider the differences between 2 and 3 so small, that it basically makes no differences if you learn 2 or 3 (2.7 that is).
At this point I would say to learn 3. While there will still be legacy 2.7 code for a long time, most (all?) new projects are started in 3. Pretty much every library has been ported to 3, with a few exceptions that probably don’t matter to you.
If there is a Python 4, it wouldn’t be a breaking release. They might just have 4.0 be the release after 3.9.
Why Python 4.0 won’t be like Python 3.0