From which version to start learning python?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
7 views
Ended finally my inner torments of a choice the technology that you want to start.

Based on reading many posts, questions and answers, blogs, etc. came to the conclusion that it would be Python. And django in the future.

And, therefore, puzzled by the selection of literature. On habré the majority of my observation suggests the book "learning Python" by Mark Lutz. But there is one but: only the 3rd edition of the book translated into Russian(and to find the spot after all), it is considered the second Python. There is a more recent book, "Programming in Python 3. A detailed manual"(ozone), it is considered just the 3rd version of Python. Also, seen the opinion that we should start the study with the second version, the third is still damp(but maybe that opinion is already obsolete, I don't know).

Here stood before me a dilemma: to study newer, but not checked the book, and immediately absorb all innovations and advantages of the new version. Or read proven book, albeit for an older but proven version of a Python? Moreover, looking at the official website, I realized that both are supported branches(and it is written: if you do not know what to choose, choose the 2nd version).
by | 7 views

7 Answers

0 like 0 dislike
Start first) i.e. the second branch. The third version is not raw, and very, very working and stable. The problem is not in the branch, and in the infrastructure until there are many libraries on a 2nd version of Python and soon no one to translate them to 3rd would not, this just makes no practical sense. And as said above, differences are actually much smaller than many imagine it. About the book, Lutz I think to suggest only because more than anything in Russian and no. In fact, the book, though simple, but so needed... words can not convey. At ~850 pages of code typed in the amount of 200 rows max. It is intended for beginners in programming in General. But bezrybe (Russian) and cancer fish. English and even teach in the formulation without knowledge it is nothing special to do.
by
0 like 0 dislike
2.6
by
0 like 0 dislike
Now 90(99?)% Python — a second branch.
Translate code from the second to the third version of the scripts(given along with Python) — converts almost 100% of the scripts( though of course as lucky)
It is rumored that a branch two, soon ceases to develop.
Under the third is simply nothing( in comparison )
by
0 like 0 dislike
This is a thick Talmud be Lutz? :) I did not have the patience to read it. In my opinion, the best documentation — the Python tutorial on the Python site.
by
0 like 0 dislike
Yes, all suggest Lutz, but if the syntax to learn, there is nothing more useful than practice in the console. Better yet, the documentation of the study, there are many interesting things there, I've recently opened collections with their Counter. Just need to take a look in the documentation, because the site says "Keep it under your pillow".
by
0 like 0 dislike
I recently took up Python and found the 3rd more enjoyable. But there are problems with support ( for example in 2.5 GAE and django will support 3 with the next major release ).
The difference between 2 and 3 is not essential for understanding. But the style in the 3rd is different. If you get used to write under 2 then it will have to be retrained, but the code usually runs under 3 and under 2. In extreme cases there is a from __future__.
by
0 like 0 dislike
On pypi 97-98% of packets (looked now, the figure is not from the bulldozer) don't work with python 3. Most emerging libraries do not support python 3, so that the 98% figure is not changing quickly. Almost all the "big" libraries don't work with python 3, especially those for the web (including django, Pylons and twisted), and are unlikely to work with him in the near future.
\r
If you want to effectively use knowledge in practice in the next couple years, learn 2nd Python. A couple of years can change a lot of wild things and learning something so in advance just makes no sense.
by

Related questions

0 like 0 dislike
5 answers
asked Apr 1, 2019 by JonathanXate
0 like 0 dislike
5 answers
asked Apr 1, 2019 by JonathanXate
0 like 0 dislike
6 answers
0 like 0 dislike
1 answer
asked Apr 13, 2019 by sddvxd
0 like 0 dislike
7 answers
asked Mar 20, 2019 by zemel
110,608 questions
257,186 answers
0 comments
28,033 users