python打印對象的全部可操做內容

print('\n'.join(['%s:%s' % item for item in 對象.__dict__.items()]))
相關文章
相關標籤/搜索