想要打印如下图效果
from prettytable import PrettyTable table = PrettyTable(["TestPoints", "Units"]) table.add_row([(XX, XX]) print(table)