Can ask a class for its functions?

Matt Gerrans matt_gerrans at hp.com
Wed Aug 14 19:35:50 EDT 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