python 对象相关的魔法方法

来源:互联网 发布:php客户端开发 编辑:程序博客网 时间:2024/04/29 11:23

python 打印对象的所有属性值的方法:obj.dict.items() .data方法(data)

原创粉丝点击