Answers for "iterate over classes in module python"

0

iterate over classes in module python

dict([(name, cls) for name, cls in mod.__dict__.items() if isinstance(cls, type)])
Posted by: Guest on May-08-2020

Python Answers by Framework

Browse Popular Code Answers by Language