I\'ve already seen the following question but it doesn\'t quite get me where I want: How can I get a list of all classes within current module in Python?
In particul
Inspect the __module__ attribute of the class to find out which module it was defined in.
__module__