prettytable
from prettytable import PrettyTable
table = PrettyTable(['id', 'ip'])
table.add_row(['1', '172.16.0.1'])
print(table)
記得先pip install
Last updated
Was this helpful?
from prettytable import PrettyTable
table = PrettyTable(['id', 'ip'])
table.add_row(['1', '172.16.0.1'])
print(table)
記得先pip install
Last updated
Was this helpful?