Skip to content

Instantly share code, notes, and snippets.

View baisa's full-sized avatar

Barbara Slawinska baisa

View GitHub Profile
array = [['Number', 'Name'], [1, 'Foo'], [2, 'Bar'], [3, 'Baz']]
pretty_table(array)
# printed result:
+--------+--------+
| Number | Name |
+--------+--------+
| 1 | Foo |