On Tue, 23 Oct 2007 21:51:20 +0000, mrstephengross wrote:

> Ok, I see how to use issubclass(). How can I get a list of classes
> present in the file?

import module
from inspect import getmembers, isclass

classes = getmembers(module, isclass)


Ciao,
        Marc 'BlackJack' Rintsch
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to