We use attributes everywhere in Python.
We have a class called Product:
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.
Python's methods are just functions that happen to be attached to a class. When a function is attached to a class, the instance will automatically be passed in as the first argument (self).