How can I pretty-print ASCII tables with Python?

I’m looking for a way to pretty-print tables like this: ======================= | column 1 | column 2 | ======================= | value1 | value2 | | value3 | value4 | ======================= I’ve found the asciitable library but it doesn’t do the borders, etc. I don’t need any complex formatting of data items, they’re just strings. I … Read more