tb.field_names = [‘user‘, ‘host‘]#添加行 tb.add_row([‘1‘, ‘xx‘, ‘yy‘])#添加列 tb.add_column(‘status‘, [1, 1, 1])#设置对其方式:l左对齐,r右对齐,c居中(不设置默认是居中对齐)