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.