Object-Oriented Python: Master OOP by Building Games and GUIs
eBook Details:
- Paperback: 416 pages
- Publisher: WOW! eBook (January 25, 2022)
- Language: English
- ISBN-10: 1718502060
- ISBN-13: 978-1718502062
eBook Description:
Object-Oriented Python: Master OOP by Building Games and GUIs: Power up your Python with object-oriented programming and learn how to write powerful, efficient, and re-usable code
Object-Oriented Python (OOP) is a paradigm that combines data and code into cohesive units, allowing you to think differently about computational problems and solve them in a highly reusable way. Aimed at intermediate-level programmers, Object-Oriented Python is a hands-on tutorial that goes deep into the core tenets of OOP, showing you how to use encapsulation, polymorphism, and inheritance to write games and apps using Python.
The book begins by demonstrating key problems inherent in procedural programming, then guides you through the basics of creating classes and objects in Python. You’ll build on this groundwork by developing buttons, text fields, and other GUI elements that are standard in event-driven environments. You’ll also use many real-world code examples and two pygame-based packages to help turn theory into practice, enabling you to easily write interactive games and applications complete with GUI widgets, animations, multiple scenes, and reusable game logic. In the final chapter, you’ll bring it all together by building a fully functional video game that incorporates many of the OOP techniques and GUI elements covered in the book.
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.
You’ll learn how to:
- Create and manage multiple objects using an object manager object
- Use encapsulation to hide the inner details of objects from client code
- Use polymorphism to define one interface and implement it in multiple classes
- Apply inheritance to build on existing code
Object-Oriented Python: Master OOP by Building Games and GUIs is a visual, intuitive guide to fully understanding how OOP operates and how you can use it to make your code more maintainable, readable, and efficient without sacrificing functionality.
[ Exclusive Offer! Order Herbal Rolling Ball Massage Hair Reactive Serum Now. Get Lowest Price & 60 Day Return Policy. Huge Discounts Available! Bravo Goods Special Offer Expires Soon. ]