1 2 3 4 5 6 7 8 9
import sys sys.path.append('./lib') from Pb import * for cls in Pb.__subclasses__(): print cls.__name__ instance = cls.example_run() instance.file_s3move() print instance.file_dict() instance.db_send();