44: From Dictionaries to Objects
You should review the following exercises before doing this one:
- Exercise 24 Introductory Dictionaries to refresh your understanding of Dictionaries.
- Exercise 25 Dictionaries and Functions for how you can put functions in dictionaries and call them.
- Exercise 26 Dictionaries and Modules for how modules are just dictionaries behind the scenes, and how changing the underlying
__dict__changes the module.
In this exercise you'll learn about Object Oriented Programming by creating your own little object system using the above information.
Register for Learn Python the Hard Way, 5th Edition (2023-2024)
Register today for the course and get the all currently available videos and lessons, plus all future modules for no extra charge.