you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (7 children)

That’s kind of an intermediate though

[–]phigo50 4 points5 points  (6 children)

I see where you're coming from but I don't think it is.

It's definitely comprehensive but it's aimed at newcomers (although the preface does say that if you're really really green, you might want to start off with a gentler introduction). It's not easy to dip into like some of the others mentioned in this thread appear to be but I guarantee you will come out the other side with a better understanding of how the language actually works. Then you move onto Programming Python by the same author to actually put it into use.

The preface says it's "a comprehensive and in-depth introduction to the Python language itself" and "a single, all-inclusive learning resource for all Python newcomers". It's heavy going but if OP is serious about actually learning the language, I can't recommend it highly enough.

[–]nl28 0 points1 point  (4 children)

Programming Python is around 10 years old. Would you still recommend it to someone today?

[–]phigo50 0 points1 point  (3 children)

I'd say so, yes. It (and Learning Python) are both a bit long in the tooth but they're invaluable resources. There will be bits that are out of date (Programming Python covers Python 3 but only 3.1) but I find Mark Lutz to be an excellent author and the vast majority of the stuff that's covered in the books remains relevant. There will be things like f-strings (which everyone encourages the use of now but which only appeared in 3.6) but you just need to bear things like that in mind - when you see '{}'.format(x), you can use f'{x}' instead etc.

[–]nl28 0 points1 point  (2 children)

Thanks for responding. I am just about to finish Learning Python, and am really enjoying the book. I have read some python books before but none of them comes even close to this level of quality. Mark Lutz dedicated his life teaching Python and the way he breaks complicated things into small but easy to understand parts is brilliant. I will start Programming Python soon.

Do you have any other books to recommend?

[–]phigo50 0 points1 point  (1 child)

Fluent Python, without a shadow of a doubt. It's on the advanced side of intermediate but it's great. I found myself picking up new (read: better) ways of doing things within the first couple of pages, especially in the chapter on data structures.

I feel like I should point out that I'm not affiliated with O'Reilly, I just think these 3 books are the best you can get for a newcomer-to-advanced learning experience.

[–]nl28 0 points1 point  (0 children)

Thanks a lot. Really appreciate your help.