1 2 3 4 5 6
import sys sys.path.append('./lib') from Pb import * for cls in Pb.__subclasses__(): print cls.__name__ cls.example_run()