📅  最后修改于: 2022-03-11 14:46:30.242000             🧑  作者: Mango
# In python, almost everything is an object
# An object is defined in a class
# An object has methods (its own functions) and attributes (its own variables)
# So a dot refers to a method (followed by () to call the method) or an attribute (no () because it is a variable, non-callable object)
# For instance :
Dog.age # refers to the age of the "Dog" object. This is an attribute
Dog.bark() # is a method, it is an action defined in the Dog class
# You can find more informations about this by searching about classes