In CPP we think that class is the definition of an object, and that instance is a concrete instance of this object, so class has no real meaning to provide direct operation. But in Python is a completely different world, Python adhering to a part of the Java every is Object design concept, that the class itself certainly can not let go, so the class here is also an example, but only this one, can not be arbitrarily derived, Naturally we think of the Singlton in CPP, to a large extent the role of the two is the same, but from the design concept of the two are completely different, of course, in Python also has a good sington implementation.
To emphasize that Python's class and instance are completely different systems, from the definition of variables to the invocation of a function, are not the same, from the definition of variables, defined in class is the class of member, in the __init__ is instance itself, From the function, if there is @classmethod is the function of class, nothing is the general instance. And the first parameter of the two functions is different, one is self and the other is CLS, perhaps this also explains why Python must add a self to the Menber function, because there is another CLS that needs to be differentiated.
Python:class VS Instance