table2ascii
table2ascii copied to clipboard
Using color libraries destroys the table formatting
Attempting to use this as a solution to build a table that prints out to the terminal, but we have a requirement that we need color for certain columns. I was using termcolor and colorama to test to see if I could add color to specific values, but when we wrap the text in the needed escape characters we end up destroying the formatting of the table itself, and it becomes confusing and unreadable.
This is with color formatting:
This is without color formatting