Packt

Object Oriented Python

享受 3 個月的 Coursera Plus 40% 的折扣,節省讓您 閃耀的技能。立即保存

Packt

Object Oriented Python

包含在 Coursera Plus

深入了解一个主题并学习基础知识。
中级 等级

推荐体验

8 小时 完成
灵活的计划
自行安排学习进度
深入了解一个主题并学习基础知识。
中级 等级

推荐体验

8 小时 完成
灵活的计划
自行安排学习进度

您将学到什么

  • Understand the core principles of Object-Oriented Programming and how they apply to Python.

  • Learn how to create classes, objects, and methods in Python, and apply OOP best practices.

  • Master inheritance, polymorphism, and composition for more modular and scalable Python code.

  • Build and refactor a text-based adventure game using Object-Oriented Python.

要了解的详细信息

可分享的证书

添加到您的领英档案

最近已更新!

May 2026

作业

10 项作业

授课语言:英语(English)

了解顶级公司的员工如何掌握热门技能

Petrobras, TATA, Danone, Capgemini, P&G 和 L'Oreal 的徽标

该课程共有9个模块

In this module, we will introduce you to the world of Object-Oriented Programming (OOP) using Python. You will learn the fundamentals of OOP, including how to create classes and objects, as well as how to use inheritance to make your code more efficient and maintainable.

涵盖的内容

1个视频1篇阅读材料

In this module, we will guide you through the installation and setup of Python, helping you choose the right text editors and IDEs for coding. You'll also get hands-on experience with testing Python scripts in the REPL, ensuring a smooth start to your programming journey.

涵盖的内容

1个视频1个作业

In this module, we will dive deep into the core principles of Object-Oriented Programming, including encapsulation, abstraction, inheritance, and polymorphism. By the end, you will have a solid understanding of how to implement these concepts in Python.

涵盖的内容

1个视频1个作业

In this module, we will teach you how to create classes and objects in Python. You’ll also learn how to add methods to these objects and understand important considerations for working with these key OOP features in your projects.

涵盖的内容

1个视频1个作业

In this module, we will explore extending classes in Python, focusing on both single and multiple inheritance. You'll also learn about composition and why it’s often considered a better practice than inheritance in many cases.

涵盖的内容

2个视频1个作业

In this module, we will build a simple text-based game, MonsterSlash, using Object-Oriented Python. You will design the game’s characters (the player and enemy) and establish the mechanics for player-enemy engagement.

涵盖的内容

2个视频1个作业

In this module, we will focus on refactoring the MonsterSlash game, improving its code quality and performance. You’ll learn how to streamline your game code and extend its features while adhering to OOP best practices.

涵盖的内容

1个视频1个作业

In this module, we will dive into the process of refactoring the actor code in the MonsterSlash game. You will learn how to clean up and optimize your code by applying Object-Oriented Python concepts, while also extending the player and enemy features to make them more dynamic and functional.

涵盖的内容

1个视频1个作业

In this module, we will extend MonsterSlash by adding new gameplay features such as enemy attacks and complex interactions. You'll use advanced OOP techniques to make the game more dynamic and enjoyable for players.

涵盖的内容

2个视频3个作业

位教师

Packt - Course Instructors
Packt
1,810 门课程512,664 名学生

提供方

Packt

人们为什么选择 Coursera 来帮助自己实现职业发展

Felipe M.

自 2018开始学习的学生
''能够按照自己的速度和节奏学习课程是一次很棒的经历。只要符合自己的时间表和心情,我就可以学习。'

Jennifer J.

自 2020开始学习的学生
''我直接将从课程中学到的概念和技能应用到一个令人兴奋的新工作项目中。'

Larry W.

自 2021开始学习的学生
''如果我的大学不提供我需要的主题课程,Coursera 便是最好的去处之一。'

Chaitanya A.

''学习不仅仅是在工作中做的更好:它远不止于此。Coursera 让我无限制地学习。'

常见问题