Skip to content

bernardobarreto/python-table

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pable

Create printable terminal tables with python.

Install

[sudo] python setup.py install

Usage

from Pable import Table
# To generate a table, provide an array of arrays (which are interpreted as rows):
rows = []
rows.append(['One', '1'])
rows.append(['One', '2'])
rows.append(['One', '3'])
print rows.render()
+-------+---+
| One   | 1 |
| Two   | 2 |
| Three | 3 |
+-------+---+

About

Create printable terminal tables with python

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages