A
A
Alexander Balashov2015-11-24 12:52:12
Python
Alexander Balashov, 2015-11-24 12:52:12

Which version of Python to study at the end of 2015?

I want to start learning Python. Which version to start learning at the end of 2015?

Answer the question

In order to leave comments, you need to log in

7 answer(s)
D
Dmitry, 2015-11-24
@balashoff

Python 3

A
Alexander Zubarev, 2015-11-24
@zualex

Python 3 - because of the 360 ​​most popular libraries, 316 are in Python 3
Python 3 Readiness

Z
zed, 2015-11-24
@zedxxx

First of all, you should know Python 2, because it has a lot of legacy code and a lot of useful libraries that you might not be able to do without. In addition, it is still more popular than the third version. Yes, there is a tendency to migrate to the third python and new projects should be started on it, but only if you are sure that the libraries you are going to use are already ported to it. In some specific cases, you may not find the libraries you need for the third python, so life will force you to use the second one.
In any case, if you want to become a good programmer, you will have to know the features of both versions of python and be equally good at navigating either of them.

G
globuser, 2015-11-24
@globuzer

Versions 2 and 3. The second prefix is ​​not particularly important, on the Python website you can see the fixes for each version. For example, versions 2.7 and 3.2 were very common in the examples. Some features in version 3 have been changed and redesigned. Therefore, version 3 is more relevant, but many projects are still being carried out on version 2. There is not too much difference between them. The main principle of the language.

V
Viktor Sypko, 2015-11-26
@Bulkinss

As a basis - Python 2. A lot of code is on it. If (usually) you land on a project that has already been written before you and written in 2.x, you should support it. If the project is written from scratch and it is decided to write it in 3.x, then your chance to apply all the knowledge of 2.x in conjunction with 3.x.
I would start with 2.x

A
Andrey Titov, 2015-11-27
@titov_andrei

What prevents to study both versions?

S
Sly_tom_cat ., 2015-12-03
@Sly_tom_cat

As for me, the difference in versions will be clear only when you start programming yourself.
At the level of educational materials (which, by the way, are more in the 2nd version), the difference is minimal. You still need to understand what the difference is, because on the 2nd just a cloud of legacy code is written.
But I would still advise writing on 3.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question