Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

University of Michigan

Python Classes and Inheritance

University of Michigan via Coursera

Overview

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.

Syllabus

  • Introduction
    • An introduction to the course
  • Classes
    • 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.
  • Extending and Modifying Classes with Inheritance and Decorators
  • More Advanced Functions and Exceptions

Taught by

Steve Oney and Paul Resnick

Reviews

4.7 rating at Coursera based on 3643 ratings

Start your review of Python Classes and Inheritance

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.