在python中 getattr() 方法是:
getattr()
getattr(object, name[, default])
上述语法相当于:
object.name
相当于 getattr 在Node.js中?
getattr