課程信息
55,037 次近期查看

Learner Career Outcomes

50%

完成這些課程後已開始新的職業生涯

50%

通過此課程獲得實實在在的工作福利

第 4 門課程(共 5 門)

100% 在線

立即開始,按照自己的計劃學習。

可靈活調整截止日期

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

中級

完成時間大約為13 小時

建議:16 hours/week...

英語(English)

字幕:英語(English)

Learner Career Outcomes

50%

完成這些課程後已開始新的職業生涯

50%

通過此課程獲得實實在在的工作福利

第 4 門課程(共 5 門)

100% 在線

立即開始,按照自己的計劃學習。

可靈活調整截止日期

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

中級

完成時間大約為13 小時

建議: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
72 條評論Chevron Right

來自Python Classes and Inheritance的熱門評論

創建者 DLOct 27th 2019

Good continuation of the first three courses in this specialization. Clear introduction to classes, and nice survey of testing, exceptions, with a fun little game project at the end.

創建者 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 !

講師

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

常見問題

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

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

還有其他問題嗎?請訪問 學生幫助中心