skip to navigation
skip to content

Not Logged In

text_table 0.02

Simple Eyecandy ASCII Tables

>>> t = TextTable((5, 'abc'), (10, 'def'))
>>> t.row('foobarbaz', 'yadayadayada')
>>> print t.draw()

.-------+------------.
| abc   | def        |
+-------+------------+
| foob- | yadayaday- |
| arbaz | ada        |
'-------+------------'

Ported from Sebastian Riedel's Text::SimpleTable[1] to Python. License is same as that of Text::SimpleTable - Artistic or GPL license.

[1]: http://search.cpan.org/~sri/Text-SimpleTable/lib/Text/SimpleTable.pm

 
  • Downloads (All Versions):
  • 0 downloads in the last day
  • 0 downloads in the last week
  • 0 downloads in the last month