if hasattr(a, 'property'):
a.property
如何确定一个对象是否含有某个属性?
猜你喜欢
转载自blog.csdn.net/countofdane/article/details/84140988
今日推荐
周排行