This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Courtesy http://plumberjack.blogspot.com/2010/12/colorizing-logging-output-in-terminals.html | |
# Tweaked to use colorama for the coloring | |
import colorama | |
import logging | |
import re | |
import sys | |
def remove_ansi(s): |