python中的内置函数getattr()介绍及示例
摘要:
在python的官方文档中:getattr()的解释如下: ? 1 2 3 getattr(object, name[, default]) Return the value of the named attribute of object. name must be a string. If th 阅读全文
posted @ 2017-06-24 16:07 老渔 阅读(2802) 评论(0) 推荐(0)
浙公网安备 33010602011771号