How to find out which functions exist?

Marc 'BlackJack' Rintsch bj_666 at gmx.net
Tue Oct 23 18:43:49 EDT 2007


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



More information about the Python-list mailing list