您的位置: 首页 > IT文章 > python 的特殊方法 __str__和__repr__ python 的特殊方法 __str__和__repr__ 分类: IT文章 • 2022-09-01 20:10:59 http://www.cnblogs.com/superxuezhazha/p/5746922.html 将类变为字符串访问