Object and Class Exploration
Jason Joy
kyroraz at usa.net
Thu May 3 21:12:52 EDT 2001
If I have an object (or a instance of a class) ...
A = CLASS(FOO)
is there a way to do a loop such that I can see all the properties (or
everything def'd) within A?
Example:
def Class(bar):
def a:
## Stuff here
def b:
## Stuff Here
Result:
['a, b']
____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1
More information about the Python-list
mailing list