Introduction to Python Classes
Python classes are collections of variables and functions. Instances of the class can be initialized and customized to store properties, data, or use methods that belong to the class and instance. The tutorial concludes with an example of using a class to do parallel programming with a multi-threaded application (see http://apmonitor.com/me575/index.php/Main/ParallelComputing).
source