linux:python:prettytable
差别
这里会显示出您选择的修订版和当前版本之间的差别。
| 后一修订版 | 前一修订版 | ||
| linux:python:prettytable [2022/05/10 15:02] – 创建 zhangguo | linux:python:prettytable [2026/10/13 22:51] (当前版本) – 外部编辑 127.0.0.1 | ||
|---|---|---|---|
| 行 1: | 行 1: | ||
| - | ====== | + | # prettytable |
| - | + | ||
| https:// | https:// | ||
| 行 12: | 行 10: | ||
| 示例 | 示例 | ||
| - | < | + | |
| + | ```python | ||
| # | # | ||
| # | # | ||
| 行 31: | 行 30: | ||
| table.add_row([' | table.add_row([' | ||
| print(table) | print(table) | ||
| + | ``` | ||
| - | </ | ||
| 运行结果: | 运行结果: | ||
| - | < | + | |
| + | ``` | ||
| linuxops@deepin: | linuxops@deepin: | ||
| +------+----------+----------+------------+ | +------+----------+----------+------------+ | ||
| 行 50: | 行 50: | ||
| | 9 | server09 | 服务器09 | 172.16.0.9 | | | 9 | server09 | 服务器09 | 172.16.0.9 | | ||
| +------+----------+----------+------------+ | +------+----------+----------+------------+ | ||
| - | </ | + | ``` |
linux/python/prettytable.1652166145.txt.gz · 最后更改: (外部编辑)
