Skip to content

Latest commit

 

History

History
18 lines (16 loc) · 429 Bytes

README.md

File metadata and controls

18 lines (16 loc) · 429 Bytes

pytabwriter

a kind of tabwriter impl. very reduced

Usage

wr = TabWriter("")
wr.writeln("Name\tAge\tDescription")
wr.writeln("nate\t24\tsome type of programmer laksjdlfkj")
wr.writeln("bob\t25\tHR Representative")
wr.flush()

Returns

|  Name  |  Age |  Description                        |  
|  nate  |  24  |  some type of programmer laksjdlfkj |  
|  bob   |  25  |  HR Representative                  |