Monday, May 25, 2015

Python Classes

A short intro on classes in Python with code snippets and notes taken from the python docs

Class: a blue print for an instance
Instance: a constructed object of the class
Type: indicates the class the instance belongs to
Attribute: any object value : object.attribute
Method: a "callable attribute" defined in the class



No comments:

Post a Comment