IT 117: Intermediate Scripting
Class 22

Today's Topics

Review


New Material

Reading Assignment

In Chapter 11, Inheritance, from our textbook, Starting Out with Python, you should read sections 11.1 and 11.2, Introduction to Inheritance and Polymorphism, before next Tuesday's class.

Homework 10

I have posted homework 10 here.

Announcement

There will be no graded quiz next week.

But there will be one the following week covering the material in the previous 3 Class Quizzes.

Review

An Alphabetical List of Students

Data for An Attendance List

Magic Methods

Magic Methods and Boolean Operators

Type Conversion Magic Methods

More Relational Magic Methods

Putting Test Code into Class Modules

New Material

Reusing Classes

Inheritance

Principles of Inheritance

An Example of Inheritance

The Video Class

The Video Constructor

Validation Methods for Video

Calculating the Collection Number

The Updated Video Constructor

Video Accessors

The __str__ Method

Creating Superclasses

Attendance

Class Quiz