Exemple #1
0
 def execute(args):
     for sc in Classifier.__subclasses__():
         print '%-8s %-8s %s' % (sc.name, sc.abbr, sc.desc)
Exemple #2
0
def get_classifier(name):
    for sc in Classifier.__subclasses__():
        if sc.name == name:
            return sc