Object Oriented Programming in Python 3

所在平台: Udemy

课程主页: https://www.udemy.com/course/object-oriented-programming-in-python-3/

课程评论:没有评论

第一个写评论        关注课程

课程简介

**课程名称:Python 3 面向对象编程** **课程概述:** 本课程旨在教授学员掌握Python 3中的面向对象编程(OOP)技能。通过循序渐进的实践,学员将从一开始就着手编码,并在整个学习过程中积极思考、解决问题、规划和编写代码。课程采用易于理解且富有意义的教学方式,紧密结合实际应用场景,确保学习效果。 **课程特色:** * **动手实践:** 每节课都包含编码练习、测验和“立即编码”环节,逐步提升学员的OOP技能。 * **全面覆盖:** 课程内容涵盖从环境设置、OOP基础术语,到类和实例、构造函数、属性、方法、静态方法、属性(getter, setter, deleter)、魔术方法(Dunder Methods)、继承、组合、SOLID设计原则、数据类、抽象基类,以及枚举、Slots、描述符、多重继承等进阶主题。 * **项目驱动:** 学员将完成两个实际项目: 1. **多人问答游戏:** 利用课程前半段的知识,构建问答、玩家和游戏逻辑类,打造一个专业标准的问答游戏。 2. **自动天气通知器:** 调用天气API获取数据,利用调度功能实现定期更新,并通过电子邮件发送天气警报和信息。 * **挑战性练习:** 课程中穿插各种编码挑战,以检测学员在OOP各个方面的知识掌握情况。 **先修要求:** 建议学员具备Python基础知识,包括熟悉字符串、整数/浮点数、布尔值,了解列表/元组/集合和字典的区别,掌握循环和函数的编写,以及基本的错误处理能力。 **核心教学内容:** * Visual Studio Code及环境设置 * OOP基础和术语 * 创建类和实例 * 构造函数 (`__init__` 方法) * 实例属性与方法 * 类属性与方法 * 静态方法 * 属性 (Getter, Setter, Deleter) * 魔术方法 (Dunder Methods) * 继承与组合 * SOLID设计原则 * 数据类 * 抽象基类 * 杂项特性 (Enums, Slots, Descriptors, Multiple Inheritance)

课程评论(0条)

课程详情

Welcome to Object Oriented Programming in Python 3This course has been carefully designed to deliver the skills needed to master OOP in Python. You can expect to be coding from the very first section and you'll be asked to think, problem solve, plan and code throughout the entire course.Learning and building up a practical understanding is more effective with a hands-on approach, and this course teaches OOP in a way that is meaningful, easily accessible and always provides links to real-world use cases. Each section has coding exercises, quizzes and stop-and-code sessions. These get progressively more challenging and continuously build on the skills you've learnt in previous sections.Course CurriculumOver the course, we will cover the following areas:Visual Studio code + Environment SetupOOP basics and TerminologyCreating Classes and Instances Constructors (__init__ methods)Instance Attributes & MethodsClass Attributes & MethodsStatic MethodsProperties (Getters, Setters, Deleters)Magic Methods (Also known as Dunder Methods)Inheritance & CompositionSOLID Design PrinciplesData ClassesAbstract Base ClassesMiscellanous Features - Enums, Slots, Descriptors, Multiple InheritanceCoding ProjectsTo give you as many chances as possible to use and develop your OOP skills, you'll be working on 2 different projects during the course.1. A Multi Player Quiz - In this project you'll use the knowledge from the first half of the course to construct several classes to build a quiz, with classes representing the questions and the players. You'll then create a class to control the game logic. This project will be written to a professional standard with type hints & documentation strings.2. An Automatic Weather Notifier - This complex program will call a weather API to fetch the weather, and then use scheduling to do this on a predetermined basis. You'll then create a class to enable weather alerts and information to be emailed. This will be written to the same professional standard as the multi player quiz.Coding ChallengesThe course contains coding challenges throughout, and these are designed to test your knowledge on all aspects of object orientation.Prerequisites It's recommended to have a basic grasp of Python before starting, such as knowing how to use strings, integers/floats, booleans. Knowing the differences between lists/tuples/sets and dictionaries, knowing how to write loops and functions, and also knowing how to work with error handling. Feel free to check out my beginner course via my Udemy profile!

课程标签

0人关注该课程

主题相关的课程