Iterate thru object member names
Phlip
phlip_cpp at my-deja.com
Sun Jan 28 17:36:43 EST 2001
Pythons:
In Javascript you can iterate thru an object's members and print out all
their names. What's the equivalent in Python?
I tried to read IDLE's source, but it appears to parse class files instead
of creating objects and sampling these.
--
Phlip phlip_cpp at my-deja.com
============ http://c2.com/cgi/wiki?PhlIp ============
-- Proud victim of the dreaded boomerang effect --
More information about the Python-list
mailing list