How can I find all subclasses of a class given its name?,print([cls.__name__ for cls in vars()['Foo'].__subclasses__()])