from abc import ABCMeta, abstractmethod class DataSet(object): __metaclass__ = ABCMeta def __init__(self): print("Abstract DataSet") @abstractmethod def read(self, conf): pass @abstractmethod def write(self, conf): pass
from abc import ABCMeta, abstractmethod class DataSet(object): __metaclass__ = ABCMeta def __init__(self): print("Abstract DataSet") @abstractmethod def read(self, conf): pass @abstractmethod def write(self, conf): pass