Comment Comment by mushfiq The examples are not enough to explain factory pattern and in python we can create class dynamically using type http://docs.python.org/2/library/functions.html#type. parent mushfiq 13 years ago