Object-Oriented Python: Master Oop by Building Games and GUIs (Paperback)

Irv Kalb



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.


提升你的 Python 技能,學習如何撰寫強大、高效且可重複使用的程式碼,透過物件導向程式設計。

《物件導向 Python》是一本直觀而全面的指南,從基礎開始掌握物件導向程式設計。你將學習建立類別和創建物件的基本概念,並使用 pygame 套件實踐理論,透過清晰的範例來視覺化物件導向風格。你將探索物件導向程式設計的關鍵概念 - 封裝、多型和繼承,並學習如何以最佳實踐方式編寫物件導向程式碼。最後,你將通過建立一個複雜的視頻遊戲,完整地包含動畫和音效,將所有知識結合起來。本書涵蓋了兩個完全功能的 Python 程式碼套件,可加速開發 Python 圖形使用者介面 (GUI) 程式。


Irv Kalb is an adjunct professor at UCSC-Extension and University of Silicon Valley (formerly Cogswell College), where he teaches introductory and object-oriented programming courses in Python. Kalb has a bachelor's and master's degree in Computer Science, decades of experience developing software while focusing on educational software, and has been teaching for over 10 years. He is the author of Learn to Program with Python 3: A Step-by-Step Guide to Programming (Apress).


Irv Kalb是UCSC-Extension和University of Silicon Valley(前身為Cogswell College)的兼職教授,他在這裡教授Python的入門和物件導向程式設計課程。Kalb擁有計算機科學的學士和碩士學位,並且在教育軟體開發方面擁有數十年的經驗,並且已經教學超過10年。他是《Learn to Program with Python 3: A Step-by-Step Guide to Programming》(Apress)的作者。