python打印对象的所有可操作内容

print('
'.join(['%s:%s' % item for item in 对象.__dict__.items()]))
原文地址:https://www.cnblogs.com/yc-c/p/10494062.html