|
所在平台: Coursera |
课程主页: https://www.coursera.org/learn/python-classes-inheritance
课程评论:没有评论
课程名称:Python 类与继承 概述:本课程介绍了类、实例及继承的概念。学员将会学习如何使用类以简洁自然的方式表示数据,如何重写内置方法,以及如何创建“继承”类以重用功能。此外,还将学习如何设计类,并被引导养成为自己的代码编写自动化测试的良好编程习惯。本课程适合已经熟悉 Python 基础知识的学员,前提是已完成“Python 基础”和“Python 函数、文件与字典”这两门课程(Python 3 编程专业化的第一和第二课程)。第三门课程“使用 Python 进行数据收集与处理”虽然是可选的,但对获取和处理复杂嵌套数据的知识将有所帮助。 这是 Python 3 编程专业化的第五门课程中的第四门。 课程大纲: 1. 名称:类 描述:在这一模块中,通过 Runestone 教材的讲座和活动,学员将学习更复杂的数据结构。到本周结束时,学员将能够处理 JSON 格式数据,使用嵌套迭代遍历嵌套数据,并从嵌套数据中提取值。 2. 名称:继承 描述:待补充。 3. 名称:单元测试与异常 描述:待补充。
Name:Classes
Description:In this module, lectures and activities from the Runestone textbook will cover more complex data structures. By the end of this week, you will have learned how to process json formatted data, traverse nested data using nested iteration, and extract values from nested data.
Name:Inheritance
Description:
Name:Unit Testing and Exceptions
Description:
This course introduces classes, instances, and inheritance. You will learn how to use classes to represent data in concise and natural ways. You'll also learn how to override built-in methods and how to create "inherited" classes that reuse functionality. You'll also learn about how to design classes. Finally, you will be introduced to the good programming habit of writing automated tests for their own code. The course is best-suited for you if you are already familiar with Python fundamentals, which are covered in the "Python Basics" and "Python Functions, Files, and Dictionaries" courses (courses 1 and 2 of the Python 3 Programming Specialization). It is optional to have taken the "Data Collection and Processing with Python" course (course 3 of the specialization), but knowledge of retrieving and processing complex nested data is helpful. This is the fourth of five courses in the Python 3 Programming Specialization.