python打印对象的全部可操做内容

print('\n'.join(['%s:%s' % item for item in 对象.__dict__.items()]))
相关文章
相关标签/搜索