|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/a-magical-tour-through-object-oriented-programming-in-python/
课程评论:没有评论
**课程总结:A Magical Tour Through Object-Oriented Programming in Python(Python面向对象编程奇幻之旅)** 这门Coursera课程以独特的哈利·波特主题为切入点,带您踏上一场Python面向对象编程(OOP)的奇幻学习之旅。课程旨在通过一个贯穿始终的扩展示例,帮助您理解OOP的核心概念和思维模式,并解释为何需要OOP以及它与传统编程方式有何不同。 **课程内容涵盖:** * **OOP基础与思维模式:** 深入理解面向对象编程的核心理念,以及它如何改变您的编程视角。 * **类(Classes)的创建:** 学习如何定义类,包括`__init__()`方法的作用和数据属性的设置。 * **方法(Methods)的定义:** 赋予对象行为能力,学习如何创建方法使对象能够执行各种操作。 * **类之间的交互:** 理解不同对象之间如何进行通信和协作。 * **继承(Inheritance):** 探索OOP强大的继承机制,学习如何构建复用代码的层级结构。 * **特殊方法(Dunder Methods):** 掌握Python中以双下划线开头和结尾的特殊方法,以及它们的功能。 * **类属性(Class Attributes)与类方法(Class Methods):** 学习如何在类级别上定义属性和方法。 **讲师介绍:** 您的讲师拥有十年的Python教学经验,曾是一位应用编程进行研究的物理学家。讲师以清晰、友好且轻松的方式进行授课,是《The Python Coding Book》的作者,并为全球的个人和企业提供Python培训。讲师平易近人,鼓励学习者提问并承诺给予及时回复。 **特别之处:** 这不仅仅是一门普通的OOP课程,它通过哈利·波特的主题,为学习过程增添了趣味性和沉浸感。
This course covers Object-Oriented Programming in Python using a different approach. It's a tour of object-oriented programming (OOP) through a Harry Potter-themed extended example.Welcome to Hogwarts School of Codecraft and Algorithmancy!The course covers:OOP fundamentals and mindset-what's different about OOP and why do we need it?Creating classes, defining `.__init__()` and understanding what it does, and creating data attributesDefining methods to give objects the ability to do stuffInteraction between different classesInheritance in OOPSpecial methods, also known as dunder methodsClass attributes and class methodsIt's not your usual OOP course…--About me, your instructorI've been teaching Python for a decade. Before that, I worked as a physicist and used programming in my research work for over a decade.My focus is on communicating clearly, in a friendly and relaxed manner. I'm the author of the The Python Coding Book (you can ask Google for a "python book" and you'll find this book as one of the first entries) and I have taught Python to individuals and corporations around the world.And I'm approachable. You can ask me questions and I'll always reply, whether here on social media or anywhere else you can find me!