traversing an object tree
I'm trying 开发者_高级运维to find information on different ways to traverse an object tree in python. I don't know much about the language in general yet, so any suggestions/techniques would be welcome.
Thanks so much jml
See the inspect
module. It has functions for accessing/listing all kinds of object information.
i found out how to do it. basically myobject.membername1.membername2
精彩评论