课程信息
60,215 次近期查看

第 4 门课程(共 5 门)

100% 在线

立即开始,按照自己的计划学习。

可灵活调整截止日期

根据您的日程表重置截止日期。

中级

完成时间大约为12 小时

建议:16 hours/week...

英语(English)

字幕:英语(English)

第 4 门课程(共 5 门)

100% 在线

立即开始,按照自己的计划学习。

可灵活调整截止日期

根据您的日程表重置截止日期。

中级

完成时间大约为12 小时

建议:16 hours/week...

英语(English)

字幕:英语(English)

教学大纲 - 您将从这门课程中学到什么

1
完成时间为 6 小时

Classes

14 个视频 (总计 79 分钟), 13 个阅读材料, 3 个测验
14 个视频
Welcome to Python Classes and Inheritance3分钟
How to Use the Interactive Textbook14分钟
User-Defined Classes9分钟
Adding Parameters to the Constructor3分钟
Adding Other Methods to a Class6分钟
Instance Variable Search Order2分钟
Example: Creating Instances from Data6分钟
Converting an Object to a String3分钟
Special (dunderscore) Methods3分钟
Instances as Return Values3分钟
Sorting Lists of Instances3分钟
Class Variables and Instance Variables6分钟
Thinking About Classes and Instances1分钟
13 个阅读材料
Syllabus10分钟
Introduction: Classes and Objects - The Basics10分钟
Objects Revisited10分钟
User-Defined Classes10分钟
Adding Parameters to the Constructor10分钟
Adding Other Methods to a Class10分钟
Objects as Arguments and Parameters10分钟
Converting an Object to a String10分钟
Instances as Return Values10分钟
Sorting Lists of Instances10分钟
Class Variables and Instance Variables10分钟
Thinking About Classes and Instances10分钟
A Tamagotchi Game10分钟
1 个练习
Optional - What Did You Use to Practice This Week?10分钟
2
完成时间为 4 小时

Inheritance

3 个视频 (总计 28 分钟), 5 个阅读材料, 3 个测验
3 个视频
Overriding Methods10分钟
Invoking the Parent Class's Method9分钟
5 个阅读材料
Introduction: Class Inheritance10分钟
Inheriting Variables and Methods10分钟
Overriding Methods10分钟
Invoking the Parent Class's Method10分钟
Tamagotchi Revisited10分钟
1 个练习
Optional - What Did You Use to Practice This Week?30分钟
3
完成时间为 7 小时

Unit Testing and Exceptions

13 个视频 (总计 94 分钟), 9 个阅读材料, 4 个测验
13 个视频
The test.testEqual Function4分钟
Return Value Tests8分钟
Side Effect Tests9分钟
Program Development with Test Cases6分钟
Testing Classes7分钟
Conclusion: Test Cases2分钟
Exception Handling Flow-of-control6分钟
When to use Try/Except3分钟
Handling Different Exception Types6分钟
Introduction to Django17分钟
How Django Uses Classes and Inheritance14分钟
Introduction - Final Course Project4分钟
9 个阅读材料
The test.testEqual Function10分钟
Writing Test Cases for Functions10分钟
Program Development10分钟
Testing Classes10分钟
What is an Exception?10分钟
Exception Handling Flow-of-control10分钟
Raising and Catching Errors10分钟
When to use Try/Except10分钟
Standard Exceptions10分钟
4.7
57 个审阅Chevron Right

50%

完成这些课程后已开始新的职业生涯

50%

通过此课程获得实实在在的工作福利

来自Python Classes and Inheritance的热门评论

创建者 SCApr 25th 2019

It was a great learning experience. A Heartfelt thankyou to the entire team for creating this great course as well as the wonderful Python 3 specialisation. thankyou !

创建者 THJul 18th 2019

so far, best of the series. the final project was well defined, fun, and challenging. Good coverage of classes, class inheritance, and use of exceptions.

讲师

Avatar

Steve Oney

Assistant Professor
School of Information
Avatar

Paul Resnick

Michael D. Cohen Collegiate Professor
School of Information

关于 密歇根大学

The mission of the University of Michigan is to serve the people of Michigan and the world through preeminence in creating, communicating, preserving and applying knowledge, art, and academic values, and in developing leaders and citizens who will challenge the present and enrich the future....

关于 Python 3 Programming 专项课程

This specialization teaches the fundamentals of programming in Python 3. We will begin at the beginning, with variables, conditionals, and loops, and get to some intermediate material like keyword parameters, list comprehensions, lambda expressions, and class inheritance. You will have lots of opportunities to practice. You will also learn ways to reason about program execution, so that it is no longer mysterious and you are able to debug programs when they don’t work. By the end of the specialization, you’ll be writing programs that query Internet APIs for data and extract useful information from them. And you’ll be able to learn to use new modules and APIs on your own by reading the documentation. That will give you a great launch toward being an independent Python programmer. This specialization is a good next step for you if you have completed Python for Everybody but want a more in-depth treatment of Python fundamentals and more practice, so that you can proceed with confidence to specializations like Applied Data Science with Python. But it is also appropriate as a first set of courses in Python if you are already familiar with some other programming language, or if you are up for the challenge of diving in head-first....
Python 3 Programming

常见问题

  • 注册以便获得证书后,您将有权访问所有视频、测验和编程作业(如果适用)。只有在您的班次开课之后,才可以提交和审阅同学互评作业。如果您选择在不购买的情况下浏览课程,可能无法访问某些作业。

  • 您注册课程后,将有权访问专项课程中的所有课程,并且会在完成课程后获得证书。您的电子课程证书将添加到您的成就页中,您可以通过该页打印您的课程证书或将其添加到您的领英档案中。如果您只想阅读和查看课程内容,可以免费旁听课程。

还有其他问题吗?请访问 学生帮助中心