An introduction to objects and object oriented programming in python for users familiar with R.
S3, S4, Reference Classes
S3 and S4 objects have the property that the object itself and the methods for that object are separate.
Classes and Modules in Python
Modules are files which contain python statements. This can contain classes, functions and global variables. Packages are a collection of modules.
Classes have special functions denoted surrounded by __. One such example is the constructor
___init___(). This function will run when the class is initialized.
This is an example class. Below are two classes that inherit from this class.