Python cli tables

Displayig table data in console

pip install texttable
from texttable import Texttable

table = Texttable()
table.add_rows([['id', 'lang'], [1, 'py']])
print(table.draw())
+----+------+
| id | lang |
+====+======+
| 1  | py   |
+----+------+