python 的特殊方法 __str__和__repr__

http://www.cnblogs.com/superxuezhazha/p/5746922.html

将类变为字符串访问