Build an intuitive understanding of object-oriented design, from introductory to mature programs
Learn the ins and outs of Python syntax, libraries, and best practices
Examine a machine-learning case study at the end of each chapter
If you are new to object-oriented programming or if you have basic Python skills and want to learn how and when to correctly apply OOP principles in Python 3.11 and beyond, this is the book for you. Mid-level Python developers, software engineers, and data scientists will benefit from its practical guidance. Complete with a solid introduction to Python, this book proves to be a useful resource for experienced object-oriented programmers transitioning from other languages or seeking a leg up in the new world of Python. Minimal previous experience with Python programming is necessary.
Python Object-Oriented Programming, Fourth Edition is a practical guide to advancing your OOP skills with modern Python. Going beyond the fundamentals, it helps you work with Python as an OOP language, explore both common and advanced design patterns, and apply these concepts to data manipulation and testing of complex OOP systems. Each chapter features newly written open-ended exercises as well as a real-world case study, aligned with the improvements in Python 3.11—bringing faster execution and memory efficiency to your applications.
Authors Steven F. Lott and Dusty Phillips provide a comprehensive, illustrative tour of important OOP concepts, such as inheritance, composition, and polymorphism, showing how they integrate with Python’s classes and data structures to facilitate good design. The book also introduces two powerful automated testing systems, unittest and pytest, and explores Python's concurrent programming ecosystem in depth.
By the end of the book, you’ll have a thorough understanding of how to think about and apply object-oriented principles using Python syntax to create robust and reliable programs.