Can you send this to `stderr` instead of `stdout`? You can either do `print("warning...", file=sys.stderr)`, or you can do `sys.stderr.write("warning...")`