Assistant Professor
Your browser is ancient!
Upgrade to a different browser to experience this site.
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.
Welcome to Python Classes and Inheritance, a course focused on object-oriented programming in Python. Learners explore classes, instances, inheritance, decorators, exceptions, and testing while developing well-structured, reusable code.
This abbreviated syllabus description was created with the help of AI tools and reviewed by staff. The full syllabus is available to those who enroll in the course.
Module 1: Classes
Module 2: Inheritance
Module 3: Unit Testing and Exceptions
Learners must complete all graded assessments. There are five graded assessments, each worth 20% of your final grade.
Assistant Professor
Michael D. Cohen Collegiate Professor of Information
Course content developed by U-M faculty and managed by the university. Faculty titles and affiliations are updated periodically.
Intermediate Level
Some related experience required