Power up your Python with object-oriented programming and learn how to write powerful, efficient, and re-usable code.
Object-Oriented Python is an intuitive and thorough guide to mastering object-oriented programming from the ground up. You’ll cover the basics of building classes and creating objects, and put theory into practice using the pygame package with clear examples that help visualize the object-oriented style. You’ll explore the key concepts of object-oriented programming — encapsulation, polymorphism, and inheritance — and learn not just how to code with objects, but the absolute best practices for doing so. Finally, you’ll bring it all together by building a complex video game, complete with full animations and sounds. The book covers two fully functional Python code packages that will speed up development of graphical user interface (GUI) programs in Python.
Another really great Python book. No Starch Press is the best publisher for coding!
If you're looking to take your Python skills to the next level, then this book is a must-read.
What I loved most about this book is that it's hands-on. You don't just read about object-oriented programming in Python, you actually build projects and get to see how it all works in action. The examples were really well done, and I was able to follow along with ease. I was impressed with how much I learned about OOP in Python, and I loved how the book taught by building fun programs. It made the learning process a lot more enjoyable and engaging.
Irv is an excellent writer and his explanations were clear and concise. He really knows how to explain difficult concepts in an approachable way. I found myself going back to the book many times as a reference.
Overall, I highly recommend this book to anyone interested in Python and OOP. It's a valuable resource that has helped me grow as a programmer.
Well written , easy and builds smoothly from basic concepts to advanced ideas. Recommend
As a native procedural and functional programmer, I always thought object-oriented programming, was a little bit of a personal preference. With this book, however, I can clearly see the advantages of it and can see how it is well suited for environments like a GUI operating system. Now I just need to go out and start practising to fully cement this new type of thinking. Recommend this book, if you are wanting to understand, object orientation, and also learn how python works underneath the hood in some of these cases.
I've been struggling to understand oop and this book cleared it up. I have always viewed oop as making programs overly complex. At the same time, whenever I start a new project, I am writing a lot of code from scratch and debugging can be time consuming. With the help of this book, oop makes sense. I've already written a few classes (the right way) and I'm already seeing dividends with simplified code and better sharing code across projects.
More than anything else, this book helped me understand the concepts of OOP far better than any other text on the subject. Clear, practical examples and a very accessible explanation of how classes and objects work as well as encapsulation, polymorphism and inheritance. An excellent primer for those new to OOP.
It turns out that months of doing Python Morsels exercises have made me well-versed in most of the material presented in this book without ever knowing the concept of OOP. The most valuable portion of the book for me is the first few chapters which show what procedural programming looks like (which looked a lot like my coworkers' code) and why they start to break down as you make it more interactive. In my opinion, you don't really need this book to learn how to do OOP in Python because learning about Python beyond the basics will make you OOP-minded. I would recommend skimming most of the book to get a feel of the abstract concepts and how they relate to specific features of Python.