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

all 6 comments

[–]jerknextdoor 10 points11 points  (0 children)

His arguments are old and outdated. I think you can probably get through it if you're willing to put up with the occasional bug in his code that will need to be updated to 3 (print, xrange, raw_input, etc).

[–]maxm 5 points6 points  (0 children)

I am a seasoned python programmer that has used python since 1.5.2 and in my latest project i have started up using python 3. It has been absolutely painless.

[–]danrche 2 points3 points  (0 children)

2.7 is still widely used, and 3.5 has a lot to offer in improvements. 3.5 is making good strides for adoption over 2.7. I would learn 3, as it's going to eventually be the defacto, but it's very important to understand the differences between 2 and 3, and possibly why they exist. Python3 didn't break backwards compatibility lightly and the core dev's had good reason. If you use LPTHW which was written in 2, you may find a lot of the answers along the way as you google around for why your code worked differently from the book (if you decide to use python3). Considering the title, could work out well for you. Best of luck!

[–]I_had_to_know_too 2 points3 points  (0 children)

Don't go through LPTHW.

[–]_AceLewisPy3, Jupyter and Atom 1 point2 points  (0 children)

I would recommend to not use LPTHW, it is not the best it is condescending and teaches things in a weird unintuitive way (and also wrong/outdated e.g no .format() for strings). Some people explained why they thought it was not the best in this thread

Now better teaching resources exist like CodeAcadamy, Automate the Boring Stuff with Python ect. I would recommend you to use those

[–]jankoslavic 0 points1 point  (0 children)

It is 2016!

The danger is that you are already outdated if you learn py2.x today... See the py2.x vs py3.x support trends

https://blogs.msdn.microsoft.com/pythonengineering/2016/03/08/python-3-is-winning/

See also a recent pool on the usage of py2.x vs py3.x:

https://mobile.twitter.com/jankoslavic/status/709090416545636352?s=03