|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/programming-with-python-part3/
课程评论:没有评论
**课程名称:** 使用 Python 进行编程 - 第三部分 **课程讲师:** Alison (博士,软件开发人员) **课程简介:** 本课程是 “使用 Python 进行编程” 系列的第三部分,旨在深入介绍 Python 编程语言的核心概念和技术。讲师 Alison 拥有科学背景和解决复杂问题的热情,她将以清晰、逻辑性和结构化的方式授课,并通过示例和练习帮助学员理解。 **课程主要内容:** 1. **面向对象编程 (OOP) 概念:** * 类的定义与创建 * 对象的概念与实例化 * 类与对象的关系 2. **命名元组 (Named Tuple) 与类的关联:** * 命名元组的使用场景 * 命名元组与类的相似之处和区别 3. **类装饰器:** * `@classmethod`:类方法 * `@staticmethod`:静态方法 * `@property`:属性装饰器 * `@dataclass`:数据类装饰器 4. **类继承:** * 继承的概念与作用 * 扩展 (Extending) 和重写 (Overriding) 方法 * 抽象基类 (Abstract Base Classes) 的工作原理 5. **下划线 (`_`) 的使用:** * 变量和方法命名中下划线的含义 * 各种双下划线方法 (dunder methods) 的应用,如: * 上下文管理器 (Context Managers) * 迭代器 (Iterators) * 生成器 (Generators) 6. **参数传递:** * 位置参数 (Positional Arguments) * 关键字参数 (Keyword Arguments) **课程目标:** 通过本课程的学习,学员将能够: * 理解并应用面向对象编程的基本原则。 * 熟练使用 Python 中的各类装饰器。 * 掌握类继承的技巧,实现代码的复用和扩展。 * 理解下划线的特殊用法,特别是 dunder 方法的应用。 * 灵活运用位置参数和关键字参数。 **讲师寄语:** Alison 希望学员们能享受本课程,轻松学习并获得丰富的知识。她鼓励学员提供反馈,以便改进课程内容。
Hi!My name is Alison.I'm an analytical person with a science background, that has a passion for complex problem solving. I have a PhD in Science and I currently work as a Software Developer.I'm here to teach you Maths, Chemistry, Physics and Programming.I present my courses in a clear, logical and structured way. For every topic, I also include an example or exercise to make sure that it is clear and easy to understand.Please send me your feedback and let me know if you have any comments, questions or suggestions. I may be able to prepare a course that interests you.In this specific course we will learn various concepts about programming using the Python language. This the third part of a series of courses were we will learn how the Python programming language works as well as programming concepts. 1) First, we will introduce concepts in object oriented programming (such as classes, objects and instances) 2) Afterwards, we will explain how a named tuple is related to classes3) Next, we will talk about different class decorators such as class methods, static methods as well as the property and dataclass decorators 4) Then we will discuss inheritance between classes, the concept of extending and overriding and how abstract base classes work5) We will then talk about the meaning of a variety of underscores used for variable and method names including multiple examples of dunder methods (such as context managers, iterators and generators) 6) Finally, we will learn what are positional and keyword arguments I hope you enjoy this course, find it easy and learn a lot with meGood luck and see you soonAlison