Module to represent tables in the terminal using python
Project description
===========
Pybles
===========
This is a modules designed to make table representations very easy and fast. This is how to use it:
#!/usr/bin/env python
import pybles
PB = pybles.Pyble()
PB.add_column('First Name')
PB.add_column('Last Name')
PB.add_line(['John', 'Doe'])
PB.show_table()
Output:
--------------------------
| First Name | Last Name |
--------------------------
| John | Doe |
--------------------------
Pybles
===========
This is a modules designed to make table representations very easy and fast. This is how to use it:
#!/usr/bin/env python
import pybles
PB = pybles.Pyble()
PB.add_column('First Name')
PB.add_column('Last Name')
PB.add_line(['John', 'Doe'])
PB.show_table()
Output:
--------------------------
| First Name | Last Name |
--------------------------
| John | Doe |
--------------------------