Suppose I want to create an abstract class in Python with some methods to be implemented by subclasses, for example:
What is the better approach for separating definition and implementation, using interfaces or abstract clas开发者_JS百科ses?