About this Course
55,037 recent views

100% online

Start instantly and learn at your own schedule.

Flexible deadlines

Reset deadlines in accordance to your schedule.

Intermediate Level

Approx. 13 hours to complete

Suggested: 16 hours/week...

English

Subtitles: English

100% online

Start instantly and learn at your own schedule.

Flexible deadlines

Reset deadlines in accordance to your schedule.

Intermediate Level

Approx. 13 hours to complete

Suggested: 16 hours/week...

English

Subtitles: English

Syllabus - What you will learn from this course

Week
1
6 hours to complete

Classes

14 videos (Total 79 min), 13 readings, 3 quizzes
14 videos
Welcome to Python Classes and Inheritance3m
How to Use the Interactive Textbook14m
User-Defined Classes9m
Adding Parameters to the Constructor3m
Adding Other Methods to a Class6m
Instance Variable Search Order2m
Example: Creating Instances from Data6m
Converting an Object to a String3m
Special (dunderscore) Methods3m
Instances as Return Values3m
Sorting Lists of Instances3m
Class Variables and Instance Variables6m
Thinking About Classes and Instances1m
13 readings
Syllabus10m
Introduction: Classes and Objects - The Basics10m
Objects Revisited10m
User-Defined Classes10m
Adding Parameters to the Constructor10m
Adding Other Methods to a Class10m
Objects as Arguments and Parameters10m
Converting an Object to a String10m
Instances as Return Values10m
Sorting Lists of Instances10m
Class Variables and Instance Variables10m
Thinking About Classes and Instances10m
A Tamagotchi Game10m
1 practice exercise
Optional - What Did You Use to Practice This Week?10m
Week
2
4 hours to complete

Inheritance

3 videos (Total 28 min), 5 readings, 3 quizzes
3 videos
Overriding Methods10m
Invoking the Parent Class's Method9m
5 readings
Introduction: Class Inheritance10m
Inheriting Variables and Methods10m
Overriding Methods10m
Invoking the Parent Class's Method10m
Tamagotchi Revisited10m
1 practice exercise
Optional - What Did You Use to Practice This Week?30m
Week
3
7 hours to complete

Unit Testing and Exceptions

13 videos (Total 94 min), 9 readings, 4 quizzes
13 videos
The test.testEqual Function4m
Return Value Tests8m
Side Effect Tests9m
Program Development with Test Cases6m
Testing Classes7m
Conclusion: Test Cases2m
Exception Handling Flow-of-control6m
When to use Try/Except3m
Handling Different Exception Types6m
Introduction to Django17m
How Django Uses Classes and Inheritance14m
Introduction - Final Course Project4m
9 readings
The test.testEqual Function10m
Writing Test Cases for Functions10m
Program Development10m
Testing Classes10m
What is an Exception?10m
Exception Handling Flow-of-control10m
Raising and Catching Errors10m
When to use Try/Except10m
Standard Exceptions10m
4.7
72 ReviewsChevron Right

50%

started a new career after completing these courses

50%

got a tangible career benefit from this course

Top reviews from Python Classes and Inheritance

By 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.

By 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 !

Instructors

Avatar

Steve Oney

Assistant Professor
School of Information
Avatar

Paul Resnick

Michael D. Cohen Collegiate Professor
School of Information

About University of Michigan

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....

About the Python 3 Programming Specialization

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

Frequently Asked Questions

  • Once you enroll for a Certificate, you’ll have access to all videos, quizzes, and programming assignments (if applicable). Peer review assignments can only be submitted and reviewed once your session has begun. If you choose to explore the course without purchasing, you may not be able to access certain assignments.

  • When you enroll in the course, you get access to all of the courses in the Specialization, and you earn a certificate when you complete the work. Your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile. If you only want to read and view the course content, you can audit the course for free.

More questions? Visit the Learner Help Center.