Instantly share code, notes, and snippets.

View gist:e43cb73121f1b3df417d5c35705931c8
#!/usr/bin/env python
import sys
import re
def print_error(msg):
print >>sys.stderr, "\033[91m" + "[error] " + "\033[0m" + msg