python调用对象属性出错:AttributeError: 'function' object has no attribute '_name_' 出错如下图所示: 原来是因为把__name__写成_name_, 下图为正确结果: