开发者

traversing an object tree

开发者 https://www.devze.com 2022-12-29 13:41 出处:网络
I\'m trying 开发者_高级运维to find information on different ways to traverse an object tree in python.

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

精彩评论

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