面朝大海,春暖华开

focus on scientific computue, 3dgis, spatial database
专注于科学计算、GIS空间分析

 

python技巧 显示对象的所有属性

python技巧
显示对象的所有属性
for attr in dir(ad):
... print attr+":"+str(getattr(ad,attr))

posted on 2019-01-16 20:50  风过 无痕  阅读(1733)  评论(0编辑  收藏  举报

导航

向日葵支付宝收钱码