Save this video — free

CS 238 Week 3 Lecture

James Andro-Vasko · 22:29 · Watch on YouTube

CS 238 Week 3 Lecture Watch on YouTube →

Overview

James Andro-Vasko demonstrates how to place a Python `Clock` class in `clock_util.py` and reuse it from separate main programs, comparing module imports, aliases, and selective imports. He then shows how lists and dictionaries can store `Clock` objects, iterate over them, and invoke methods such as getters and setters through each retrieved object.

Key takeaways

Chapters

0:00 Importing the Clock Class from clock_util.py
5:30 Module Aliases, Selective Imports, and Naming Conflicts
9:50 Storing and Iterating Through Clock Objects in Lists
15:14 Mapping Clock Objects to Dictionary Keys

Keep these chapters and the full searchable transcript in your own library.

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, James Andro-Vasko.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.