6
Sep 12

Intro: Object Oriented Programming in python

This is a quick introduction to OOP and inheritance in python. A class is a container of attributes (can think of as variables) and methods (functions). Classes allow us to define a container that can consists of data and functions. An object can then be created that we can use which contains the data and has the functionality of those methods. An object is an instance of the class. In our example we have to classes.
Read the rest of this entry »