开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜