本文共 87 字,大约阅读时间需要 1 分钟。
def prn_obj(obj): print ', '.join(['%s:%s' % item for item in obj.__dict__.items()])
转载地址:http://hgwub.baihongyu.com/