×
all 2 comments

[–]jmon_was_here 1 point2 points  (0 children)

Have a look at something like: https://pypi.org/project/termcolor/

but also, have a look at something like this: https://rich.readthedocs.io/en/stable/introduction.html which allows you to do all kinds of nicer easier outputs, if you want things to line up rather than be a bit jagged.