logging.error is better that print >> sys.stderr, it gives log channels and colors.