Answer the question
In order to leave comments, you need to log in
Which version of python (2.7 or 3.4) should a beginner choose for learning?
I want to learn how to program in python, but I don't know which version to choose.
On the one hand, python3 is newer and the future is behind it, but not all libraries for it are ported.
On the other hand, there are any libraries for python2.7 and, therefore, it will not be necessary to solve compatibility problems that are not needed at first. But in the end, you still have to cross, it is not known how long he will live.
Help me to understand.
Answer the question
In order to leave comments, you need to log in
For a beginner, it doesn't really matter. But for real projects I would recommend 2.7. Most libraries are written specifically for it. Not everyone has switched to the third python yet, and the prospects for switching to it are vague. I asked my friends pythonists, so far 4 to 1 in favor of the 2nd python.
UPDATE: since writing this comment, I have already switched to 3.4, which I recommend to everyone.
As already mentioned, not all libraries are rewritten for the third one. Another advantage of the second is the fact that in production there is usually an OS that has a native second python and no one will let you install a third one.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question