Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 python prettytable,并且想在行项之间添加边界线。有什么想法吗?或者我至少可以在行之间添加填充?
谢谢。
我通过设置找到了解决方案
from prettytable import PrettyTable, ALL x = PrettyTable() x.hrules=ALL
它使行之间的所有虚线边界。