Saving colored output of a script
by gehilpiku84 from LinuxQuestions.org on (#5985Y)
Hello everyone. I want your help. I'm making a tool using python and the output that I'm displaying is colored. It has horizontal lines, blue, green, red texts.... I wanted to know if there's any way I can save the output in a text file, or pdf format. I tried redirecting the output to a text file but it separates the black and white output and the colored output. Any solution?

