Can ask a class for its functions?

Matt Gerrans matt_gerrans at hp.com
Thu Aug 15 01:35:50 CEST 2002


Yes, you can use dir(classname) or you can access its dictionary like so:
classname.__dict__





More information about the Python-list mailing list