首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Python > 在一个视觉上的ASCII表格式容易显示表格数据的一个简单的Python库

在一个视觉上的ASCII表格式容易显示表格数据的一个简单的Python库

资 源 简 介

PrettyTable is a simple Python library designed to make it quick and easy to represent tabular data in visually appealing ASCII tables, like this: +-----------+------+------------+-----------------+| City name | Area | Population | Annual Rainfall |+-----------+------+------------+-----------------+| Adelaide | 1295 | 1158259 | 600.5 || Brisbane | 5905 | 1857594 | 1146.4 || Darwin | 112 | 120900 | 1714.7 || Hobart | 1357 | 205556 | 619.5 || Melbourne | 1566 | 3806092 | 646.9 || Perth | 5386 | 1554769 | 869.4 || Sydney | 2058 | 4336374 | 1214.8 |+-----------+------+------------+-----------------+ PrettyTable lets you control many aspects of the table, like the width of the column padding, the alignment of text within columns, which characters are used to draw the table border, whether you even want a border, and much more. You can control wh

文 件 列 表

prettytable-0.7.2
prettytable_test.py
README
setup.py
prettytable.py
CHANGELOG
setup.cfg
PKG-INFO
COPYING
MANIFEST.in
prettytable.egg-info
VIP VIP
0.176609s