So far your data has been lists and dictionaries, and your functions have lived somewhere else. Object-oriented programming puts the two together: a class describes a kind of thing, with the data it holds and the actions it can perform, and an object is one particular thing of that kind. You have been using objects all along, since every string, list and number is one. Now you learn to make your own kinds.
More lessons in Complete Python Programming