In Python, methods are really just functions that are attached to classes.
We have a class here called
Product and it has an initializer method and a
This is a premium screencast available only to active Python Morsels subscribers.
Feel free to watch some of the free screencasts in the Classes series.
Need to fill-in gaps in your Python skills? I send weekly emails designed to do just that.