Just a question about the book "Learning Python 5th Edition"

Hey guys, names Gravity0, I’ve had my eye on this book (here’s the link) Learning Python: Powerful Object-Oriented Programming: Lutz, Mark: 9781449355739: Books - Amazon.ca and I was wondering if it’s still good. It seems to have lots of python 2.7 which I don’t care about, but it also covers python 3. It is an older version of python and that’s what I want to know. Is the book still good if it’s in python 3.3? My question may seem silly, but I really want to know if it’s a good purchase. Python expert answers are preferred.

1 Like

“Learning Python” by Mark Lutz is very good value, even if it is a little old.

90% of what you learn about Python 2.7 will still apply to Python 3, although there may be a few changes.

95% of what you learn about Python 3.3 will still apply to Python 3.10.

Obviously any new features in Python 3.4 onwards will not be covered, but the older features haven’t changed that much.

But please don’t buy from Amazon if you can avoid it.


Hey I was just wondering if you could suggest any books for learning Python 3.10. It will really helpful for me as I am a beginner. Thank you

Ok, good, I’m going to get it and not from amazon. That’s all I needed to know, is if it was still good. If 95% is still applicable I may as well get it. Thanks.

Hello, @Gravity0, and and welcome to Python Software Foundation Discourse!

As you work through the Learning Python book, you may benefit by periodically consulting the document, Porting Python 2 Code to Python 3, when viewing Python 2.7 code.

We hope you enjoy the book and the discussions here. In order to enhance your experience with these discussions, you may be interested in taking a look at the following pages:

If at some time, when asking questions about Python or when offering replies to other users, you post examples of code, please format it correctly, so that important details such as indentation are displayed properly. One way to do this is to place lines of three back ticks before and after the code, as follows:

# example code
for i in range(10):
    print("Hello World!")

There is also a </> button at the top of the editing window for formatting code, after it has been selected.

EDIT (April 3, 2022):

Also see What’s New in Python, regarding differences between versions of Python.